Thanks that help
If i can read and print the html, cant i just paste it in the perl file. But when i do that and use here docs I get lots of errors - barword found , use of modifier meaningless etc
| [reply] |
I think we could help you best if you would supply both the relevant parts of the Perl script and the actually errors you receive (the one where you use the heredoc), and the HTML page you are trying to paste.
If you'd rather keep it as a separate page, you should be able to do something like this:
# do all your email stuff
open $fh, "<", "downloads.html" or die;
while ($fh) {
print;
}
close $fh;
Or you could slurp in the file and print it all at once, but either way it should work.
| [reply] [d/l] |