![]() |
![]()
| ![]() |
![]()
NAMESquatting::On::CGI - if all else fails, you can still deploy on CGI SYNOPSISCreate an app.cgi to drive the Squatting app in a CGI environment. use App 'On::CGI'; my $q = CGI->new; App->init; App->relocate('/cgi-bin/app.cgi'); App->cgi($q); DESCRIPTIONThe purpose of this module is to allow Squatting apps to be used in a CGI environment. This is done by adding a "cgi" method to the Squatting app that knows how to "translate" between CGI and Squatting. To use this module, pass the string 'On::CGI' to the "use" statement that loads your Squatting app. APICGI -- The Lowest Common DemoninatorApp->cgi($q) Give the "cgi" method a CGI object, and it will send the apps output to STDOUT. SEE ALSOCGI
|