http://www.perlmonks.org?node_id=1003970


in reply to Perl Regex

use File::Basename qw(basename); .... my $last_part_in_string=basename($string);
Depending on how you see it, you might call this an abuse, or an innovative usage of basename...

-- 
Ronald Fischer <ynnor@mm.st>