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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl Install Help

Status
Not open for further replies.

JaySang

Technical User
Jun 26, 2003
43
CA
I've installed Active State perl 5.8.0 on a new PC for a new user. When running a perl program from the command prompt, there are 2 command line input

c:\> script.pl input1 input2

when running the program is doesn't recongise any command line input. This script is running on 10 other PC's fine.

So far I've:

Added c:\perl\bin to the PATH environment variable
Registered .pl files to perl.exe in Windows
Reinstalled perl

Any help is greatly appreciated!
 
Try a simple script:

Code:
print "Testing command line arguments: @ARGV\n";

See how that works, report back.


------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
/here/is/perlexe scriptName input1 input2; if this works, your Env/System vars are Not correctly defined.

Right Click on "My Computer" --> Properties --> Advanced --> Environment Variables --> Check to see if perl is in the path and classpath.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top