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

Re: append

by tachyon (Chancellor)
on Jan 03, 2005 at 00:11 UTC ( #418843=note: print w/ replies, xml ) Need Help??


in reply to append text to existing file

You want >> not >

open F, ">$file" or die "Can't create/overwite $file $!\n"; open F, ">>$file" or die "Can't append to $file $!\n";

cheers

tachyon


Comment on Re: append
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2014-12-27 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls