RE: setting the default perl path to a script

2003-01-16 Thread Thomas R Wyant_III
"Martin Vorlaender" <[EMAIL PROTECTED]> wrote: > You prefix the perl script with > $ perl 'f$env("procedure")' "''p1'" "''p2'" "''p3'" "''p4'" "''p5'" "''p6'" > "''p7'" "''p8'"! > $ exit++ + ++$status!=0 and $exit=$status=undef; while($#ARGV != -1 and > $ARGV[$#ARGV] eq ''){pop @ARGV;} > eva

Re: setting the default perl path to a script

2003-01-16 Thread David Webb
> When I write my perl scripts on UNIX, the first line I would usually put: > #!/usr/bin/perl On Unix this type of line at the start of a script tells the system which shell to use. Perl just uses the same mechanism on Unix to tell the system that this is a perl script. VMS doesn't have such a me

RE: setting the default perl path to a script

2003-01-15 Thread Martin Vorlaender
> When I write my perl scripts on UNIX, the first line I would > usually put: > #!/usr/bin/perl > > Stating that that's where to find the perl binary to run the > script, and so I can just type "perl_script" instead of > "perl perl_script" to run it. > > Can someone shed me some light on how to do

Re: setting the default perl path to a script

2003-01-15 Thread Alan Winston - SSRL Central Computing
OPq === Alan Winston --- [EMAIL PROTECTED] Disclaimer: I speak only for myself, not SLAC or SSRL Phone: 650/926-3056 Paper mail to: SSRL -- SLAC BIN 99, 2575 Sand Hill Rd, Menlo Park CA 94025

setting the default perl path to a script

2003-01-15 Thread Li, Patrick
When I write my perl scripts on UNIX, the first line I would usually put: #!/usr/bin/perl Stating that that's where to find the perl binary to run the script, and so I can just type "perl_script" instead of "perl perl_script" to run it. Can someone shed me some light on how to do that on VMS? Ag