Hey SAWMaster,
Wednesday, June 20, 2001, 12:10:49 PM, you wrote:
S> Hi group.
S> Short 'n sweet question. Is there a way to run perl programs from
S> the command line without having to precede usage with "perl"
I see you are running M$ Win, but which version? What Perl are you
running? I have Win2kSP1 with ActiveState Perl, and the install sets
it up so you can do just what you asked. (basically you need your
PATHEXT environment variable to include .pl or what ever you have as
an extension for you perl programs).
S> so I can go
S> myprogram [Arguments]
S> Instead of
S> perl myprogram [Arguments]
S> If there is no way to do this...would making a bat file (windows)
S> of the same name do it? I'm not sure if a bat file can handle
S> arguments...and if it can, would it be able to pass them to my perl
S> program?
Yes, this is possible also. Look at the c:\perl\bin\pl2bat.bat file.
It wraps M$ Batch file code around your perl code.
--
[EMAIL PROTECTED]
Using The Bat! eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
My wife keeps complaining I never listen to her ... or something like that.