in reply to Re: How do I print output to STDOUT instead of to an HTML file?
in thread How do I print output to STDOUT instead of to an HTML file?
The first line opens a file with read/write access (the '>' means you'll be doing read/write - no character there would indicate read only). You're associating with this file the filehandle "HTMLFILE".open(HTMLFILE, ">pingresults.html") || die "Couldn't open pingresults\ +n"; print HTMLFILE "$HTML\n";
Hopefully this will help you get started.print HTMLFILE "This will print to file"; print "This will print to STDOUT";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How do I print output to STDOUT instead of to an HTML file?
by ChemBoy (Priest) on Apr 18, 2001 at 22:27 UTC | |
by Sherlock (Deacon) on Apr 19, 2001 at 00:20 UTC |