in reply to Re: Re: Help, how do I print out to an html file, not the .pl page
in thread Help, how do I print out to an html file, not the .pl page
Your alternative is not to use the select statement...which would look like this:#!/usr/bin/perl open(HTMLFILE, ">your/html/file.here"); select(HTMLFILE); #....do some things with CGI input here print "This goes in your HTML file\n"; #....do some other things if necessary print "So does this\n"; close HTMLFILE;
#!/usr/bin/perl open(HTMLFILE, ">your/html/file.here"); #....do some things with CGI input here print HTMLFILE "This goes in your HTML file\n"; #....do some other things if necessary print HTMLFILE "So does this\n"; close HTMLFILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Help, how do I print out to an html file, not the .pl page
by dawnamarr (Novice) on Apr 17, 2001 at 20:34 UTC | |
|
Re: Re: Re: Re: Help, how do I print out to an html file, not the .pl page
by dawnamarr (Novice) on Apr 17, 2001 at 20:37 UTC |