What is the difference between chop & chomp functions in perl?
Answer Posted / deepesh
chop() is used to remove last character where chomp() is
only remove new line if its existing or white space.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Write the program to process a list of numbers.
How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.
When would `local $_' in a function ruin your day?
What are the reasons that cookie server can’t handle multiple connections?
How to know whether a key exists or not in perl?
Write a program that explains the symbolic table clearly.
What is goto statement in perl?
What is cpan ? What are the modules coming under this?
Is perl compiler or interpreter?
How do I send e-mail from a Perl/CGI program on a Unix system?
Explain join function in perl?
What are the advantages of c over Perl?
Explain gmtime() function in perl?
How can you replace the characters from a string and save the number of replacements?
What exactly is grooving and shortening of the array?