Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Basename Module

by toolic (Bishop)
on Feb 08, 2014 at 14:28 UTC ( [id://1074024]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found