For maximum portability, use File::Basename, a standard CPAN module:
use File::Basename; use strict; # get full path in $path my $filename = basename($path);
In reply to Re: How do I split a string containing path+filename
by arturo
in thread How do I split a string containing path+filename
by psmail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |