![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: chop and chompby manoj_speed (Prior) |
on Mar 17, 2009 at 13:50 UTC ( #751195=note: print w/replies, xml ) | Need Help?? |
chop is used to remove the last character,chomp function removes only line endings. chop removes the last character and returns the character chopped. Chomp removes any trailing string that corresponds to the current value of $/ and returns number of characters removed.
In Section
Seekers of Perl Wisdom
|
|