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

[MacPerl] [Macperl] Write to file HELP!!!



I have a sample program:
$name='Alex';
print "Input: ";
$you=<STDIN>;
$file='> test.txt';
open ">> test.txt";
format STDOUT=
@<<<      @<<<<<<<<<<
$name,      $you
.
write();
close(0);

How to write into the file 'test.txt' My message discribed in format?
Thanks.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch