in reply to (tye)Re: How do you chomp your chomps?
in thread How do you chomp your chomps?
And, of course, one could always write their own little function such as:
Though this doesn't handle arrays, it also doesn't modify the input string in place.sub my_chomp { my $str = shift; chomp($str); return $str; }
|
---|
Replies are listed 'Best First'. | |
---|---|
(Ovid -Golf) Re(3): How do you chomp your chomps?
by Ovid (Cardinal) on Jan 09, 2001 at 04:55 UTC | |
by chromatic (Archbishop) on Jan 09, 2001 at 10:15 UTC | |
by mr.nick (Chaplain) on Jan 09, 2001 at 08:19 UTC |
In Section
Seekers of Perl Wisdom