The only documentation I know of is in Lincoln's CGI.pm book.  ...But you
could always check out the source code for the module.  Below is the part
that defines each of those sets.  Each one exports (enables ...sort of)
certain subroutines.


':html2' => ['h1'..'h6',qw/p br hr ol ul li dl dt dd menu code var strong em
tt u i b blockquote pre img a address cite samp dfn html head base body Link
nextid title meta kbd start_html end_html input Select option comment
charset escapeHTML/],

':html3'=>[qw/div table caption th td TR Tr sup Sub strike applet Param
embed basefont style span layer ilayer font frameset frame script small
big/],

':netscape'=>[qw/blink fontsize center/],

':form'=>[qw/textfield textarea filefield password_field hidden checkbox
checkbox_group submit reset defaults radio_group popup_menu button
autoEscape scrolling_list image_button start_form end_form startform endform
start_multipart_form end_multipart_form isindex tmpFileName uploadInfo
URL_ENCODED MULTIPART/],

':cgi'=>[qw/param upload path_info path_translated url self_url script_name
cookie Dump raw_cookie request_method query_string Accept user_agent
remote_host content_type remote_addr referer server_name server_software
server_port server_protocol virtual_host remote_ident auth_type http
save_parameters restore_parameters param_fetch remote_user user_name header
redirect import_names put Delete Delete_all url_param cgi_error/],

':ssl' => [qw/https/],

':imagemap' => [qw/Area Map/],

':cgi-lib' => [qw/ReadParse PrintHeader HtmlTop HtmlBot SplitParam Vars/],

':html' => [qw/:html2 :html3 :netscape/],

':standard' => [qw/:html2 :html3 :form :cgi/],

':push' => [qw/multipart_init multipart_start multipart_end
multipart_final/],

':all' => [qw/:html2 :html3 :netscape :form :cgi :internal/]


-----Original Message-----
From: Scott Lutz [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 2:58 PM
To: [EMAIL PROTECTED]
Subject: versions of CGI.pm


Why is it when you specify different version of CGI types, ie.
use CGI ':cgi-lib';
use CGI ':standard';
use CGI;

that sometimes code will work, and other times you get nothing?
Does anyone know of a good URL for reference on this?

Thanks.


Scott Lutz
Pacific Online Support
Phone: 604.638.6010
Fax: 604.638.6020
Toll Free: 1.877.503.9870
http://www.paconline.net


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to