Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

RE: File Input and Output

by SYbeginner (Novice)
on Jun 17, 2000 at 07:49 UTC ( #18604=note: print w/ replies, xml ) Need Help??

in reply to File Input and Output

Also if a file doesn't exisit the following code will generate the file on the server although I can't figure out why:

open(file, ">$filename") flock file, 2; print file "Whatever you want to say"; close(file);
And after that it generates a file on the server, could someone explain it for me?

Comment on RE: File Input and Output
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-11-28 09:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (740 votes), past polls