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
Why do you use Perl?
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
Explain chomp, chop, cpan, tk.
How many ways can we express string in Perl?
Explain a tell function in perl?
How to replace perl array elements?
Explain string comparison operators in perl.
What is -> symbol in perl?
What does last statement do in perl?
How to print escaping characters inside a string in perl?
Explain the various characteristics of perl.
Explain different types of perl operators.
Who created perl?
How do you turn on the perl warnings?
what is the function of Return Value?