in reply to Basename Module
my $fullpath = 'C:\foo\bar\baz';
As an aside, you normally do not want to put a scalar by itself in double quotes:
print $dirname;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Basename Module
by ostra (Novice) on Feb 08, 2014 at 15:38 UTC |