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

Re: Webhosting with Perl/CGI

by Anonymous Monk
on Jun 08, 2012 at 08:08 UTC ( #975107=note: print w/replies, xml ) Need Help??

in reply to Webhosting with Perl/CGI

Thank you all!
Have installed XAMPP (portable) for Win32 now. (I am afraid that the Plack is a mental overload for me :-( )
XAMPP has a "Mini-Perl" however, i.e. without any modules.
Is it possible to "exchange" Mini-Perl to a real Perl installation (or to link XAMPP to my installed ActivePerl)?

Replies are listed 'Best First'.
Re^2: Webhosting with Perl/CGI
by Anonymous Monk on Jun 08, 2012 at 08:20 UTC
      Thank you, this was really helpful!
      First, after changing the shebang I could use my installed ActivePerl.
      Second, it appears that only Lite version of XAMPP comes with miniPerl, the "real" one comes with Perl 5.10 with a lot of modules and with ppm etc. to install some other ones.
Re^2: Webhosting with Perl/CGI
by tospo (Hermit) on Jun 08, 2012 at 14:07 UTC
    Actually, you don't need to know anything about Plack or read all the documentation. Just install the modules YourMother has listed and use the command as shown, just replace the path with the path to your cgi script. Should be all you need.
Re^2: Webhosting with Perl/CGI
by clueless newbie (Chaplain) on Jun 08, 2012 at 12:01 UTC
    My XAMPP experience is limited to Windows so ... In your cgi script put the location of the perl you wish to use on the shebang line.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975107]
[Corion]: I guess I have to dump the JSON commands I send and file a bug report with the Chromium devs

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-10-17 12:43 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (230 votes). Check out past polls.