if you actually want to get rid of trailing newlines.... maybe add a \r? for completeness' sake$arg =~ s/\*\n?$//;
In reply to Re^2: how to chop last character from a string
by suaveant
in thread how to chop last character from a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |