Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

build web interface without a web server

by boat73 (Scribe)
on Jan 21, 2005 at 16:42 UTC ( #424045=perlquestion: print w/replies, xml ) Need Help??

boat73 has asked for the wisdom of the Perl Monks concerning the following question:

Hello wise ones, I am hoping that someone can give me a push the right direction. I am hoping to create a web client web interface to run on windowz 2000 and above. In a nutshell I want a user to be able to access http:://localhost:<port> and be able to navigate a perl program. I have been looking a little at http::deamon but figured I would ask if anyone had any other suggestions or if I am barking up the wrong tree. I would be truly grateful if someone had a sample that maybe just did a "hello". As always thanks for any help.
  • Comment on build web interface without a web server

Replies are listed 'Best First'.
Re: build web interface without a web server
by bgreenlee (Friar) on Jan 21, 2005 at 16:50 UTC
      POE looks like it will work fine, thanks.
Re: build web interface without a web server
by davido (Cardinal) on Jan 21, 2005 at 16:44 UTC

    You could always install apache webserver. It's not that difficult, it's free, there is a Windows version, and it works great.


    Dave

      I would differ with davido in one respect, I found apache very easy to install!

      I'm telling you, these things scare the pants off me (fud big time), so if I can do it anyone can.

      Go on, give it a try, close your eyes and think of England!

Re: build web interface without a web server
by borisz (Canon) on Jan 21, 2005 at 17:03 UTC
Re: build web interface without a web server
by bpphillips (Friar) on Jan 21, 2005 at 17:25 UTC
    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)
      Thanks to all. I will eamine all suggestions. I like the perl only stuff.
Re: build web interface without a web server
by Zed_Lopez (Chaplain) on Jan 21, 2005 at 17:56 UTC
    You could try jellybean, which doesn't claim to have been tested on windows, but its sourceforge page says it's OS independent.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2023-09-24 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?