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
What are the reasons that cookie server can’t handle multiple connections?
List the operator used in Perl?
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
Explain socket programming in perl?
Explain the use of 'my' keyword in perl?
How do you turn on the perl warnings?
What is use of ‘->’ symbol?
How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?
What is the importance of perl warnings? How do you turn them on?
Create a function that is only available inside the scope where it is defined ?
What is the closure in PERL?
What are the steps involved when the cgi program starts running?
How and what are closures implemented in perl?
How do I read command-line arguments with Perl?
How to convert arrays into a string in perl?