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

Re: open file does not work for externally defined filename

by derby (Abbot)
on Jan 07, 2008 at 20:28 UTC ( [id://660932]=note: print w/replies, xml ) Need Help??


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

Can you post more code ... like how $file is set? Also, try checking the return value of the open call:

open( FH, ">>", $file ) or die "Cannot open $file: $!\n";

... but if I call the program with any number of slash ...

As MJD says you can't just make shit up and expect the computer to know what you mean (Good 'ole #11901)

-derby

Log In?
Username:
Password:

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

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

    No recent polls found