Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Applying multiple file modes

by wrog (Friar)
on May 25, 2015 at 01:42 UTC ( [id://1127639]=note: print w/replies, xml ) Need Help??


in reply to Applying multiple file modes

  1. learn to use <p> and <code>
  2. get used to doing open ... or die (hint: open sometimes doesn't work)
  3. testing -z while you have the file open is likely to give a random result (you have no idea how long it's going to actually take to write the file; nothing is even remotely guaranteed until you close, and sometimes not even then; depending on your OS you may have to do a sync after closing. More likely you need to be doing Something Completely Different.)

That's all I can tell right now until you format your code better.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-20 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found