First, please forgive, and reply to this note with more information, if I've misunderstood your question. I'm just taking a best guess from what you're saying here.
If you want to save the HTML you're printing to another file, first open it:
my $location_for_html_file = 'html_file.html'; open (HTML_FILE, ">$location_for_html_file") or die "Cannot open HTML +file for writing at $location_for_html_file: $!\n";
There is a way to send all text to it as well, for this, you'd use the select statement. However, I'd not recommend it, as you lose some control over what goes where. It's worth it, in my experience, to simply do open and print than to use select, but you can look it up and decide. Also, there are man(ual) pages for both print and open here as well, if you get stuck, you'll want to look at them to help you, and us, understand your question better.
----Asim, known to some as Woodrow.
In reply to Re: Help, how do I print out to an html file, not the .pl page
by Asim
in thread Help, how do I print out to an html file, not the .pl page
by dawnamarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |