Skip to content

Instantly share code, notes, and snippets.

@zostay
Created November 11, 2011 16:53
Show Gist options
  • Save zostay/1358515 to your computer and use it in GitHub Desktop.
Save zostay/1358515 to your computer and use it in GitHub Desktop.
Best, quickest, safe way I know to pull out the " at x.pm line 1." is:
my $x = reverse $@;
$x =~ s/^.*? \ ta \ //xms;
$x = reverse $x;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment