you are required to replace a char in a string and store the number of replacements. How would you do that?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More CGI Perl Interview Questions

What is use of ‘->’ symbol?

0 Answers  


What does a die() function do in perl?

0 Answers  


How do you open a file for writing?

6 Answers  


I have one question regarding to eval function. I know eval function is use for error checking but I am not able to understand below line. eval \'exec perl -S $0 ${1+\"$@\"}\' if 0; $0 for script name $@ set if error occur

0 Answers  


Differentiate between arrays and list in perl.

0 Answers  






What are arrays in perl?

0 Answers  


If you want to empty an array then how would you do that?

0 Answers  


What value is returned by a lone `return;’ statement?

0 Answers  


How to concatenate strings with perl?

0 Answers  


Explain what is perl language?

0 Answers  


Why is it hard to call this function: sub y { "because" } ?

0 Answers  


Explain goto expr?

0 Answers  


Categories