Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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)?
Thanks!


Comment on Re: Webhosting with Perl/CGI
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 clueless newbie (Friar) 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.
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2014-07-10 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (215 votes), past polls