Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Webserver on Windows

by packetstormer (Monk)
on Apr 05, 2012 at 12:11 UTC ( #963663=perlquestion: print w/replies, xml ) Need Help??
packetstormer has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I have a project that needs to run on various windows platforms where IIS may or may not be installed. Can anyone suggest a lightweight, portable Webserver that I could package up and serve up my Perl web application? I have been looking at Dancer, which is really cool. However, I am unsure (at least I can't get it to work) if I can use ODBC drivers for Sybase/MSSQL, which is a MUST for the procject.

Replies are listed 'Best First'.
Re: Webserver on Windows
by Corion (Pope) on Apr 05, 2012 at 12:12 UTC

    Dancer is written in Perl, so it can use all Perl modules, like DBD::ODBC. Also consider looking at Twiggy.

Re: Webserver on Windows
by tobyink (Abbot) on Apr 05, 2012 at 18:25 UTC
    Dancer is indeed cool. Shame it's not a web server. Dancer is a web application framework. Maybe look at Starman - not sure if it works on Windows, but can't see why it wouldn't.
    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      Dancer does have a standalone deployment mode using HTTP::Server::Simple::PSGI

      OP, not sure why you are having issues getting ODBC working, as Corion said there are modules for it. Post your code?

      Anyway, I'm a big fan of Dancer.

      Nope - Starman is Unix only. I've looked at that too.
Re: Webserver on Windows
by Anonymous Monk on Apr 06, 2012 at 00:11 UTC

    dancer comes with a webserver, same as catalyst, mojo .... and you can use all of them with plackup

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://963663]
Approved by marto
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2017-11-19 01:21 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (278 votes). Check out past polls.