The problem is not consistency in design, it is file association and your
pathext environment variable. Create a pl file association in NT and you can
start the perl programs from command prompt like:
myprog.pl
It works just fine (I have it like that all over our network).
What's more, you can make .pl files look executable by adding .pl to your
pathext variable. to see your pathext:
>From the command prompt type:
echo %pathext%
if .pl is not in that variable, you to put .pl on the end of the file to run
a .pl file by the file association, or you can add it using:
set pathext=%pathext%;.pl
You can set that permanently in the System applet in your control panel.
once .pl appears in your pathext, you can actually start myprog.pl by
typing:
myprog
and hitting return. NT will recognize it.
Steve Howard
-----Original Message-----
From: Chris Garringer [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 4:23 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Stuck in the Perl Beginners Panic-Zone!
I've run Activestate perl on NT and W2000. On NT I had to use perl <program
name>. On 2000 I only need the program name. What would be required on a
"consumer" rather that "business' M$ Operating system I don't know. It
"should" be a matter of associating the extension you are using with the
perl program, and having the program in the path. But M$ is not noted for
consistency in design.
Chris D. Garringer
LAN/WAN Manager
Master Certified Netware Engineer
Microsoft Certified Systems Engineer
Certified Solaris Administrator
Red Hat Certified Engineer
[EMAIL PROTECTED]
fax 713-896-5266
>>> <[EMAIL PROTECTED]> 06/15/01 03:59PM >>>
Ok, I'll take a different approach to my question.
Is there anyone out there who runs their PERL scripts on a Windows Me driven
computer? If so, what version of PERL do you use and "EXACTLY" what steps
do
you take to get your scripts to run on your system. (Porperty settings,
command line option, batch files, the whole nine). Also are there any Books
or online documents that consentrates exclusively on running PERL scripts on
a windows me system. All I want to do is practice my scripts as I'm learning
PERL But It seems like getting the scripts to run is harder than learning
the
actual Language.