Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: opening new file in different directory

by Anonymous Monk
on Aug 01, 2013 at 11:26 UTC ( #1047436=note: print w/ replies, xml ) Need Help??


in reply to opening new file in different directory

Use double back slash inside the path

 open (FH,"C:\\Dirname\\filename.txt")

This will work


Comment on Re: opening new file in different directory
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2014-10-25 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls