NAME FML::Process::CGI::Kernel - CGI core functions. SYNOPSIS use FML::Process::CGI::Kernel; my $obj = new FML::Process::CGI::Kernel; $obj->prepare($args); ... snip ... This new() creates CGI object which wraps "FML::Process::Kernel". DESCRIPTION the base class of CGI programs. It provides basic functions and flow. METHODS new() constructor. prepare($args) print HTTP header. The charset is "euc-jp" by default. adjust ml_*, load config files and fix @INC. verify_request() log client info. finish() dummy method now. run() dispatch *.cgi programs. FML::CGI::XXX module should implement these routines: star_html(), run_cgi() and end_html(). "run()" executes $curproc->html_start(); $curproc->_drive_cgi_by_table(); $curproc->html_end(); "run_cgi()" prepares tables by the following granularity. nw north ne west center east sw south se "run_cgi_main()" shows at the center and "run_cgi_navigation_bar()" at the west by default. You can specify the location by configure() access method. cgi_execute_command($command_context) execute specified command given as FML::Command::* run_cgi_title() show title. run_cgi_log() show log. run_cgi_dummy() dummy. run_cgi_date() date. run_cgi_options() show options. run_cgi_menu() execute cgi_menu() given as FML::Command::* MISC / UTILITIES cgi_hidden_info_language() cgi_try_get_address() return input address after validating the input cgi_try_get_address() return input address after validating the input safe_cgi_action_name return the current action name, safe_param_xxx() get and filter param('xxx') via AUTOLOAD(). CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2001,2002,2003,2004,2005,2006,2008 Ken'ichi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. HISTORY FML::Process::CGI::Kernel first appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.