What is the difference between chop & chomp functions in perl?
Answer Posted / preethi
chop removes last character of the given string whereas
chomp removes the whitespace along with the character at the
end
chop-------> Perl----> Per
chomp------> Perl Program ----> Perl
Is This Answer Correct ? | 4 Yes | 15 No |
Post New Answer View All Answers
what is perl language?
What does cgi program store?
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
What are the logical operators used for small scale operations? Explain them briefly.
Explain grooving and shortening of arrays?
Explain perl.
Explain chomp?
Explain chop?
What is boolean context?
Write a program that explains the symbolic table clearly.
Explain cpan?
Comment on array slicing and range operator
How to do comment in perl?
Explain ivalue in perl?
You want to read command-line arguements with perl. How would you do that?