Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: opening new file in different directory

by nardo (Friar)
on Oct 23, 2001 at 18:54 UTC ( #120801=note: print w/replies, xml ) Need Help??


in reply to opening new file in different directory

If the last block of code is copied exactly then you are opening WRITE for reading which doesn't sound like what you want to do. If that works, but opening it for writing doesn't then you probably don't have permission to write to the file, but without telling us the value of $! it's difficult to diagnose exactly what your problems are.
  • Comment on Re: opening new file in different directory

Replies are listed 'Best First'.
Re: Re: opening new file in different directory
by George_Sherston (Vicar) on Oct 23, 2001 at 19:07 UTC
    Huh, quite right, my bad. I've amended my WRITE (actually... it's a root node... but the excellent davorg obliged). The error message I get when opening the file for writing is No such file or directory

    George Sherston

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2022-05-22 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?