in reply to Perl with redistributable web server and mysql?

Personally, if this is for a single user application I would try to avoid MySQL and a "real" webserver, and go with an all-Perl setup of, say Twiggy and DBD::SQLite, that is, use a webserver written in Perl and use SQLite instead of a separate database proces.

Alas, I'm not aware of an easy way to create a setup/installation file for Perl. Maybe consider looking at PAR::Packer to create a single executable that people can copy...

  • Comment on Re: Perl with redistributable web server and mysql?

Replies are listed 'Best First'.
Re^2: Perl with redistributable web server and mysql?
by dasgar (Priest) on Aug 30, 2016 at 05:48 UTC

    Perhaps I missed something, but the OP mentioned doing this on Windows. According to its CPAN Tester Matrix, it doesn't look like there are any passes in the mswin32 column for Twiggy. It looks like it might work under Cygwin, but not everyone is going to want Cygwin installed on their Windows system.

    For Windows, I think Mojolicious, Dancer or Dancer2 would probably work better than Twiggy - although I have heard a lot of good things about Twiggy.

      I routinely use Dancer with a Twiggy backend engine on Windows. I think Twiggy fails its tests due to relying on Test::TCP, which usually fails its test suite on Windows due to relying on fork().