in reply to Basename Module

From the File::Basename POD, you specify a full path to a file (or directory), such as:
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

    Thank you for the reply. It was putting the scalar in double quotes that was the issue. Thank you very much.