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 the use of command “use strict”?
Explain perl one-liner?
What are the various uses of perl?
How to access parameters passed to a subroutine in perl?
How many data types are there in perl?
What is a chomp() function in perl?
How interpreter is used in perl?
Explain cpan?
How will you declare a variable in perl?
What is the difference between perl array and perl hash?
Write syntax to add two arrays together in perl?
Explain join function in perl?
Create a function that is only available inside the scope where it is defined ?
Why do you use Perl?
Define say() function in perl?