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
Explain gmtime() function in perl?
what is Chop & Chomp function does?
How will you get the count of parameters passed to a perl subroutine?
what is Perl one liner?
How does a “grep” function perform?
How many types of variable in perl?
what are the three groups involved in information sharing?
Explain tk?
What value is returned by a lone `return;’ statement?
What is the purpose of _package_ literal?
Explain goto name?
There are two types of eval statements i.e. Eval expr and eval block. Explain them.
What are some of the key features of objects in perl?
What is chomp() operator/function?
Explain perl one-liner?