in reply to Re: how to chop last character from a string
in thread how to chop last character from a string

Why add a chomp, if you are already regexping just give it a
$arg =~ s/\*\n?$//;
if you actually want to get rid of trailing newlines.... maybe add a \r? for completeness' sake

                - Ant
                - Some of my best work - (1 2 3)