in reply to Post file to hard disk
You need to open a file and direct ouput to it:
my $output_file = "script_out.txt"; open(FILE,">$output_file") or die "Unable to open $output_file for wri +ting: $!"; print FILE "This will go to the file.\n"; print "This will go to browser.\n"; select FILE; print "This will go to the file, too.\n"; print STDOUT "This will go to the browser.\n";
TGI says moo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Post file to hard disk
by Anonymous Monk on Apr 18, 2001 at 01:24 UTC |