Help for this page

Select Code to Download


  1. or download this
    
    sudo cpan
    install Task::Plack
    
  2. or download this
    
      return [ 200, [ 'Content-Type' => 'text/html'],
                    [ 'hello PSGI world' ]
             ];
    
  3. or download this
    
      print "content-type: text/html\n\n";
    
  4. or download this
    
     listing of action.psgi
    ...
    
            };
    
  5. or download this
    
    > plackup -s Starman -r action.psgi
    
  6. or download this
    
    Hello world