active perl

Problems with the Windows version of XAMPP, questions, comments, and anything related.

active perl

Postby anwoke8204 » 13. October 2006 11:12

does xampp include active perl, I wan't to install assp on my e-mail server but it requires active perl, and was wondering if I download it if it will mess anything up, if it doesn't have it already?
anwoke8204
 
Posts: 47
Joined: 23. September 2006 02:16

Re: active perl

Postby Izzy » 13. October 2006 11:31

anwoke8204 wrote:does xampp include active perl, I wan't to install assp on my e-mail server but it requires active perl, and was wondering if I download it if it will mess anything up, if it doesn't have it already?


After reading the ASSP documentation I believe all it requires is a working version of perl installed on your server. The brand is unimportant as Active Perl is just a brand of perl.

All you need do is install the Full Perl Add-on for XAMPP - Perl 5.8.8-2.2.3:
http://www.apachefriends.org/en/xampp-windows.html#644

This has been designed to install easily and integrate with XAMPP.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby anwoke8204 » 14. October 2006 10:14

I downloaded and extracted and ran the setup xampp with perl, then restarted my server, but can't figure out how to run perl, when I go to the command prompt and type in perl -v to get my version number I get unreconized command? any ideas as to what I am doing wrong
anwoke8204
 
Posts: 47
Joined: 23. September 2006 02:16

Postby Izzy » 14. October 2006 10:36

anwoke8204 wrote:I downloaded and extracted and ran the setup xampp with perl, then restarted my server, but can't figure out how to run perl, when I go to the command prompt and type in perl -v to get my version number I get unreconized command? any ideas as to what I am doing wrong


Include the full path to perl in your command if you are not running the command console in the xampp\perl\bin directory.
Example:
c:\Documents and Settings\You>c:\xampp\perl\bin\perl -v

If you cd to c:\xampp\perl\bin then it will look like this:
c:\Documents and Settings\You>cd to c:\xampp\perl\bin
Press enter
c:\xampp\perl\bin>perl -v
Should return something like this
Code: Select all
c:\xampp\perl\bin>perl -v

This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 25 registered patches, see perl -V for more detail)

Copyright 1987-2006, Larry Wall

Binary build 817 [257965] provided by ActiveState http://www.ActiveState.com
Built Mar 20 2006 17:54:25

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


C:\xampp\perl\bin>

perl -V (uppercase V) will give details of the patches mentioned above.

perl -h will give a list of perl switches.

This path to perl has also to added to the top (first line) of each perl script (.cgi file) also known as the shebang.
In the path example above the shebang would look like this:
#!"C:\xampp\perl\bin\perl.exe"
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 130 guests