What is the difference between chop & chomp functions in perl?
Answer Posted / thangaraju
chop is used remove last character,chomp function removes
only line endings.
| Is This Answer Correct ? | 80 Yes | 15 No |
Post New Answer View All Answers
Enlist the advantages of using c over perl?
How to find the length of an array in perl?
How will you create a file in perl?
Explain the meaning of closure in perl.
Write a program to show the process of spawning a child process
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
How many types of variable in perl?
Define operators used in perl?
What is the use of command “use strict”?
How does polymorphism work in perl? Give an example.
How to create a directory in perl?
Explain the use of 'my' keyword in perl?
you are required to replace a char in a string and store the number of replacements. How would you do that?
Explain splicing of arrays?
What are the different string manipulation operators in perl?