Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Simple http server one-liner for some static files?

by Ea (Friar)
on Jan 17, 2013 at 17:31 UTC ( #1013830=note: print w/ replies, xml ) Need Help??


in reply to Re: Simple http server one-liner for some static files?
in thread Simple http server one-liner for some static files?

Better 2 years late, than never. :)

The only problem with having gadzillions of programs is finding the right one for you. The poster was looking for this:

http_this

which didn't make the first 2 pages of results. Written 3 months earlier than the question, it's just a wrapper around the Plack::App::Directory which was suggested in another thread, but it's simpler, like the python command in a book on D3 that sent me looking for the perl equivalent of python -m SimpleHTTPServer

perl -e 'print qq(Just another Perl Hacker\n)' # where's the irony switch?


Comment on Re^2: Simple http server one-liner for some static files?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-08-22 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls