CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Saving files

 



FCesar
Deleted

Mar 14, 2001, 4:43 PM

Post #1 of 2 (248 views)
Saving files Can't Post

When I open a file to save data in it, data previously stored are deleted and new data are stored. The code is like this
open(FILE, "$pathtofile");
print FILE $data;
close(FILE);
How do I attach new data to previosly save data without delete it ?



Jasmine
Administrator / Moderator

Mar 14, 2001, 6:01 PM

Post #2 of 2 (246 views)
Re: Saving files [In reply to] Can't Post

How come when I open a file read-write it wipes it out?


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives