Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Perl to work on my workstation

Status
Not open for further replies.

oaklandar

Technical User
Joined
Feb 12, 2004
Messages
246
Location
US
I just installed Perl 5.8 on my Windows 2000 workstation. When I go into DOS to run a test script called first.pl it doesnt recognize Perl:

'first.pl' is not recognized as an internal or external command, operable program or batch file.

I know I have to open Folder Options in Control Panel and click the File Types tab then click new but not sure what do to from there to get Perl to work. Please advise.
 
Update it now works with the command: perl first.pl but if I dont type the 'perl' word it brings up a window saying "open with..." and wants me to open it with something.

Please advise.
 
DOS won't reconise the association with .pl files, they should run from the command line (using perl filename, perl is the program, and the filename is the script)

In windows, if your association is correct it should open a console window when you double click the perl icon

--Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top