Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Perl Regex

by rovf (Priest)
on Nov 15, 2012 at 09:10 UTC ( #1003970=note: print w/ replies, xml ) Need Help??

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 <>

Comment on Re: Perl Regex
Download Code
Replies are listed 'Best First'.
Re^2: Find number at string end
by parv (Priest) on Nov 15, 2012 at 09:32 UTC

    :-) I had almost posted a similar version. There is still room for File::Spec::Unix.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003970]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-11-28 22:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls