#!/usr/bin/perl -w
use LWP::Simple;
use CGI qw/:standard/;
open(OUT, ">title03.txt");
select(OUT);
print "HELLO";
close(OUT);
print "Content-type: text/html", "\n\n";
print "<html><head><\head>\n";
print "<body><form>\n";
print "Hello<input type=\"text\" name=\"fname\"/>\n";
print "</form></body></html>";
So, I am trying to print "Hello" at both file and browser at the same time.
First of all, is it possible?
If yes, what is the way I can do it?
Thank you...