Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 imbibing at the Monastery: (5)
As of 2025-06-21 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.