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
What is automatic error handling in perl?
Explain which feature of PERL provides code reusability?
How do I read command-line arguments with Perl?
How can you create anonymous subroutines?
“Perl regular expressions match the longest string possible”. What is the name of this match?
What is the usage of -i and 0s options?
How does polymorphism work in perl?
Explain use of ‘my’ keyword in perl?
What can be done for efficient parameter passing in perl? Explain.
What exactly is grooving and shortening of the array?
What is posix in perl?
In CPAN module, name an instance you use.
Explain the difference between declarations of 'my' and 'local' variable scope in perl?
What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
Explain goto expr?