At 07.44 -0500 1998.12.02, Alex wrote: >I have a sample program: >$name='Alex'; >print "Input: "; >$you=<STDIN>; >$file='> test.txt'; >open ">> test.txt"; >format STDOUT= >@<<< @<<<<<<<<<< >$name, $you >. >write(); >close(0); Please read the documentation on open() and close() in the functions documentation, included with MacPerl, or look through a good Perl book, such as anything from O'Reilly, or the MacPerl book. Chapter 7 in the MacPerl book is about dealing with files. It is available online and in print. http://www.ptf.com/macperl/ -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch