in reply to Simple Perl print() output redirect to html/webpage.
If you need to write everything thet print writes to a file, use select:
If you want to call your Perl script from a webserver, you need to use CGI or CGI::Simple.open my $html, ">", /srv/www/mystatus.htm; select $html;
Please specify what exactly you want.
Sorry if my advice was wrong.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Simple Perl print() output redirect to html/webpage.
by hmb104 (Sexton) on Sep 03, 2012 at 17:48 UTC | |
by aitap (Curate) on Sep 03, 2012 at 18:11 UTC |
In Section
Seekers of Perl Wisdom