TWUUG Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [twuug] Perl and Net::FTP




To expound on what Lyman said.  You can't have two open file handles into
the same file at the same time.  If you must prepend info...  Open the
file, print to it, then close the file.  Then run your Net::FTP methods
Then if you have to add more, open it again after the $ftp->quit(), open
for append (>>), print to the file, and then close again.  Rinse and
repeat as necessary.  Should work.

Stephen 



-------------------------------------------------------------------------
* To unsubscribe from the TWUUG discussion list, either send e-mail to
  twuug-request@twuug.org with the word "unsubscribe" by itself
  in the body of the message or visit:
  http://www.memach.com/lists/twuuglists.html


Home | Main Index | Thread Index