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
what is the function of Return Value?
What are the different ways to run cgi?
You want to read command-line arguements with perl. How would you do that?
What is posix in perl?
What are scalar data and scalar variables?
Which functions in perl allows you to include a module file. State their differences.
For a situation in programming, how can you determine that Perl is a suitable?
How to concatenate strings in perl?
What is a chop() function in perl?
List the files in current directory sorted by size ?
How to do comment in perl?
What does last statement do in perl?
What is lexical variable in perl?
How to read a file into a hash array?
what is Polymorphism in Perl?