Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: build web interface without a web server

by bpphillips (Friar)
on Jan 21, 2005 at 17:25 UTC ( #424066=note: print w/replies, xml ) Need Help??


in reply to build web interface without a web server

This isn't necessarily what you're looking for but the POD of IO::All (which is one of my personal favorites for quick and dirty IO:: stuff) has a really slick one-line web server which supports rudimentary CGI:
perl -MIO::All -e 'io(":8080")->fork->accept->(sub { $_[0] < io(-x $1 +? "./$1 |" : $1) if /^GET \/(.*) / })'
(BTW, I take no credit for this... see the explanation here)

Replies are listed 'Best First'.
Re^2: build web interface without a web server
by boat73 (Scribe) on Jan 21, 2005 at 17:32 UTC
    Thanks to all. I will eamine all suggestions. I like the perl only stuff.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2023-12-05 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (27 votes). Check out past polls.

    Notices?