Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://418843]
help
Chatterbox?
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2017-02-28 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (403 votes). Check out past polls.