How to count no of occurrence of a unique patterns in perl?
Answer Posted / shah faisal
($count)=$string =~ s/<pattern>/<pattern>/g;
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Write a program to show the process of spawning a child process
How to dereference a reference?
What does a die() function do in perl?
List the operator used in Perl?
Write a program to concatenate the $firststring and $secondstring and result of these strings should be separated by a single space.
What is the main function of cookie server?
What does localtime() do in perl?
What is the function of virtual documents in cgi programs?
What happens when you return a reference to a private variable?
What interface used in PERL to connect to database? How do you connect to database in Perl?
What does read () command do?
What is “grep” function in perl?
Write a cgi program to show the header part?
What is the difference between single (') and double (") quote in a string in perl?
What do you mean by context of a subroutine?