in reply to saving cgi output as html

I am surprised no one has offered WWW::Mechanize to you yet. Just write a bot that queries the web form and save the resulting $agent->{content} to a file. No need to rewrite the original script. :)

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^2: saving cgi output as html (even simpler)
by Aristotle (Chancellor) on May 30, 2003 at 19:21 UTC
    Of course if it's one sole request, you can just stick to LWP::UserAgent or even LWP::Simple. If you can directly run the CGI script, the easier yet route would be to just call it from the command line..

    Makeshifts last the longest.