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
Is there any way to add two arrays together?
How to implement a stack in Perl?
Explain goto name?
How can you create anonymous subroutines?
What is the difference between perl list and perl array?
Explain what is perl language?
How to close a file in perl?
Explain chop?
How many ways can we express string in Perl?
what is Polymorphism in Perl?
Explain the various characteristics of perl.
How to read multi lines from a file in perl?
what is the function that is used to identify how many characters are there in a string?
What is cpan in perl?
Explain the meaning of subroutine?