in reply to Re^2: Cannot download and print html
in thread Cannot download and print html

You're quite right -- I just added that in annoyance when I realized that CGI wasn't exporting the meta sub, which provides the proper value for the -head parameter. I should have used CGI::meta, since I'm not sure how to get at it OO-ly. Or perhaps there is a subset export to just get things that are not available as methods? Enlighten me, frater!
rjbs

Replies are listed 'Best First'.
Re^4: Cannot download and print html
by jeffa (Bishop) on Jul 14, 2004 at 21:42 UTC

    I prefer iburrell's suggestion, but CGI.pm has a funky little magical way of allowing you to pull any tag into the current namespace:

    use CGI qw(meta); my $cgi = CGI->new;
    Still seems weird, but it works. :)

    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)