in reply to Re: Cannot download and print html
in thread Cannot download and print html
You covered yourself by stating that you are not big on CGI.pm, but i really feel like i should nitpick as this is a very common mistake:
That is mixing the two styles you use CGI as: procedural versus OO. Always use one, but never use both. That is, you either use this:use CGI qw(:all); my $cgi = CGI->new;
or you use this:# import CGI's functions into my namespace use CGI qw(:all); print header, start_html( ... ), h1('HTML Body'), end_html;
Cheers. :)use CGI; # access CGI's functions as object methods my $cgi = CGI->new; print $cgi->header ... (yadda yadda)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Cannot download and print html
by rjbs (Pilgrim) on Jul 14, 2004 at 20:42 UTC | |
by jeffa (Bishop) on Jul 14, 2004 at 21:42 UTC |