use strict; use warnings; use File::Basename; my $s = "/home/virtual/path/to/www/some/directory/filename.txt"; print basename($s,'.txt') . "\n";
Scott
In reply to Re: Isolating a file name
by helphand
in thread Isolating a file name
by keiusui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |