Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: open file does not work for externally defined filename

by FunkyMonk (Chancellor)
on Jan 07, 2008 at 20:30 UTC ( [id://660933]=note: print w/replies, xml ) Need Help??


in reply to open file does not work for externally defined filename

perl will tell you what it thinks the problem is if you add or die $! on to the end of your open statements:
open(FH,">>$file") or die $!; open(FH,">>c:\\logfile.log") or die $!;

If they don't help you sort out your problem, you will have to show us some more code before we can help you further

PS

wrapping your code in <code> ... </code> tags will format it just like mine above.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-05-27 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found