Perl "Open With..." popup

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

Perl "Open With..." popup

Postby mlgolden » 22. October 2007 01:49

Perhaps I'm going about this wrong.
I've installed XAMPP v1.6.3a. I've installed the Perl add-on v5.8.8-2.2.4. I manually added "D:\xampp\perl\bin" to the path.
I open a command prompt and go to "D:\xampp\perl\lib\Tk\demos\widget_lib".
When I type "hello.pl" Windows 2000 opens a box and asks for the program to open this file with.
http://127.0.0.1/xampp/index.php Status shows Perl with mod_perl "Activated".
Shouldn't I be seeing "Hello world" displayed on the command prompt screen?
mlgolden
 
Posts: 1
Joined: 22. October 2007 01:01

Postby Wiedmann » 22. October 2007 01:56

When I type "hello.pl" ... Shouldn't I be seeing "Hello world" displayed on the command prompt screen?

Yes and no ;-)
First you must configure Windows, that this "perl.exe" is the program for "*.pl" files. The XAMPP Perl Add-On only configures Apache for using "*.pl" files.

BTW:
I manually added "D:\xampp\perl\bin" to the path.

Then you can make a:
perl hello.pl
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests