You can even have the word 'at' in the error message.sub die_clean { my ($err) = @_; my ($rmk, $msg) = map {scalar reverse} split(/ ta /, reverse($err), +2); my ($line) = ($rmk =~ /line (\d+)/; }
In reply to Re: regex die?
by acid06
in thread regex die?
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |