Perl within Win XP cmd window

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

Perl within Win XP cmd window

Postby geogeo » 09. April 2009 16:10

When I installed Xampp on a previous machine some years ago I was able to use the windows comand consol to activate perl programs,
eg. perl test.pl would run test.pl

Having just installed Xampp and the Perl addon on a new machine I can't get this to work. Any pointers on how to do this.

Thanks
geogeo
 
Posts: 3
Joined: 09. April 2009 16:04

Re: Perl within Win XP cmd window

Postby Wiedmann » 09. April 2009 16:13

You must add "\xampp\perl\bin" to your PATH environment variable.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Perl within Win XP cmd window

Postby geogeo » 09. April 2009 16:20

Thanks, but I don't think that's the problem. The command line entry responsd with ' Perl is not a recognised as an internal command or program' so it looks like Windows isn't seeing Perl.

Geo
geogeo
 
Posts: 3
Joined: 09. April 2009 16:04

Re: Perl within Win XP cmd window

Postby Wiedmann » 09. April 2009 16:47

it looks like Windows isn't seeing Perl.

And why isn't Windows seeing Perl?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Perl within Win XP cmd window

Postby geogeo » 09. April 2009 17:03

Sorry, I was being dumb. I've modified the PATH as you suggested and it now all runs!

Many thanks
geogeo
 
Posts: 3
Joined: 09. April 2009 16:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 149 guests