Help for this page

Select Code to Download


  1. or download this
    use CGI qw(:standard);
    
    ...
    }
    
    # do some footer stuff here
    
  2. or download this
    if ($page eq 'list_products') {
      list_products();
    ...
    sub list_products {
      print '...';
    }
    
  3. or download this
    %pages = (
      list_products => \&list_products,
    ...
    sub list_products {
      print '...';
    }
    
  4. or download this
    use base qw(CGI::Application);
    
    ...
      my $self = shift;
      return '...';
    }
    
  5. or download this
    use base qw(CGI::Application);
    use CGI::Application::Plugin::AutoRunmode;
    ...
      my $self = shift;
      return '...';
    }