Help for this page

Select Code to Download


  1. or download this
    package MyCgiApp;
    use base 'CGI::Application';
    use CGI::Application::Plugin::Scotch;
    ...
    # at this point, MyCgiApp should behave as if 
    # CGI::Application::Plugin::Session was imported into the 
    # package.
    
  2. or download this
    package CGI::Application::Plugin::Scotch;
    use CGI::Application::Plugin::Session;
    use Exporter ...
    @EXPORT = qw/scotch session/;
    
  3. or download this
    package MyCgiApp;
    use base 'CGI::Application';
    use CGI::Application::Plugin::Scotch;
    use CGI::Application::Plugin::Session;