Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: no webserver(apache)? no problem! test .cgi with Plack/plackup

by Your Mother (Canon)
on Apr 04, 2011 at 17:29 UTC ( #897369=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    plackup -L Shotgun -MPlack::App::WrapCGI -e "Plack::App::WrapCGI->new(script => shift)" [cgi]
  2. or download this
    alias pcgi='plackup -Ilib -L Shotgun -MPlack::App::WrapCGI -e "Plack::
    +App::WrapCGI->new(script => shift)"'
    
  3. or download this
    alias pcgi='plackup -L Shotgun -MPlack::App::WrapCGI -e "Plack::App::W
    +rapCGI->new(script => \$ARGV[0])"'
    
    pcgi some.cgi
    HTTP::Server::PSGI: Accepting connections at http://0:5000/
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-09-22 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls