more useful options | |
PerlMonks |
Re: regex die?by ayrnieu (Beadle) |
on Mar 19, 2006 at 22:24 UTC ( [id://537813]=note: print w/replies, xml ) | Need Help?? |
my ($msg, $line) = (split /\s*at|line\s*|\.$/, $input)[0,2];
With GrandFather's caveat.
In Section
Seekers of Perl Wisdom
|
|