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
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
List the files in current directory sorted by size ?
How to find the length of an array in perl?
Enlist the advantages of using c over perl?
How to read a file into a hash array?
what is Chop & Chomp function does?
Can inheritance be used in perl?
How to check the status of airplane mode (enable/disable) in perl for Android mobile?
How can memory be managed in Perl?
What rules must be followed by modules in perl.
How to read a single line from a file in perl?
What are numeric operators in perl?
How to concatenate strings with perl?
How can you use Perl warnings and what is the importance to use them?
What do you mean by context of a subroutine?