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; }
In reply to Re: (tye)Re: How do you chomp your chomps?
by Anonymous Monk
in thread How do you chomp your chomps?
by kaatunut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |