How to count no of occurrence of a unique patterns in perl?
Answer Posted / ramya
while ($string =~ /<pattern>/g) { $count++ }
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
Which has highest precedence in between list and terms? Explain?
How to concatenate strings with perl?
Elaborate on perl bite-wise operators.
What is the difference between perl array and perl hash?
How can you replace the characters from a string and save the number of replacements?
Comment on array slicing and range operator
what is the function of Return Value?
How to connect with sqlserver from perl and how to display database table info?
How to deleting an existing file in perl programming?
Why does Perl not have overloaded functions?
Write the program to process a list of numbers.
What is perl I used for?
You want to read command-line arguements with perl. How would you do that?
What is perl? What is the basic command to print a string in perl?