in reply to cgi.pm: complete list of method names?
Seeing as how a lot of those methods are auto-generated (read: they don't "exist" on "paper"), you only get a partial list:
use CGI; use Devel::Symdump; my $obj = Devel::Symdump->new('CGI'); print $_,$/ for sort $obj->functions; __END__ CGI::AUTOLOAD CGI::DESTROY CGI::XHTML_DTD CGI::_checked CGI::_compile CGI::_make_tag_func CGI::_reset_globals CGI::_selected CGI::_setup_symbols CGI::add_parameter CGI::all_parameters CGI::binmode CGI::cgi_error CGI::charset CGI::compile CGI::croak CGI::escape CGI::expand_tags CGI::expires CGI::import CGI::init CGI::initialize_globals CGI::make_attributes CGI::new CGI::param CGI::parse_params CGI::print CGI::put CGI::r CGI::rearrange CGI::save_request CGI::self_or_CGI CGI::self_or_default CGI::to_filehandle CGI::unescape
You might have better luck just browsing the docs or buying Official Guide to Programming with CGI.pm (companion web site).use CGI qw(-any); print CGI::foo(CGI::bar{baz=>'qux'});
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)
|
|---|