in reply to
Re: •Re: Simple Regex needed
in thread
Simple Regex needed
> my ( $basename ) = reverse split /\//, "/tmp/app/foo";
The only problem with this is that it's not portable: it'll work on Unix, but probably not on MS Windows.
Comment on
Re: Re: •Re: Simple Regex needed
In Section
Seekers of Perl Wisdom