Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    use strict;
    ...
    print "Content-Type: text/plain\n\n";
    $cgi->print_data;
    exit;
    
  2. or download this
    use strict;
    use warnings;
    ...
        $res->body ($body);
        $res->finalize;
    }
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    my $app = Plack::Util::load_psgi("light.psgi");
    Plack::Loader->auto->run($app);