Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Accessing Windows Path from Perl script

by BioLion (Curate)
on Aug 13, 2010 at 14:17 UTC ( #854915=note: print w/ replies, xml ) Need Help??


in reply to Accessing Windows Path from Perl script

Firstly you need to check out perldoc: quotelike operators and see the difference between "$string\\path" and '$string\\path'.

Also windows paths are notoriously awkward, so maybe a path name handler module would be useful, rather than hard coding them? Check out Win32 and File::Basename among others...

Hope this helps, let us know how you get on!

Update: Fixed links...

Just a something something...


Comment on Re: Accessing Windows Path from Perl script
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2015-07-28 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls