Michael Collins <mcollins@lnd.state.az.us> wrote:
>Does what follows the #! need to be the location of the perl executable
>such as /usr/local/bin/perl or the location of the perl (.pl) files which is
>somewhere else in a /lib directory.
The perl executable. The #! allows a script to call an interpreter, so that
the script is processed by some program other than the shell. It allows the
script to be treated as a stand-alone executable which can be run like any
other shell script; without it, you'd have to type "perl script-name.pl" at
the command line.
>Also do files such as majordomo.pl need
>this line (#!...etc.) as the first string, or only the executables such as
>wrapper and resend?
wrapper is not a perl program, but a c program.
-J-
---------
Jay Allen <jallen@ingress.com>
World Wide Web Consulting/Page Construction
Home Page: http://www.ingress.com/~jallen/
Creator, Objectivism Resource Guide (ORG)
|
|