Great Circle Associates Majordomo-Users
(April 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: perl questions
From: jallen @ ingress . com (Jay Andrew Allen)
Date: Fri, 7 Apr 1995 22:50:10 -0400
To: majordomo-users @ GreatCircle . COM

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)



Indexed By Date Previous: Re: simple question about the perl scripts
From: Larry Sheldon <lsheldon@creighton.edu>
Next: restricting posts
From: Michael von Roeder <micha@womble.s.bawue.de>
Indexed By Thread Previous: Re: simple question about the perl scripts
From: Larry Sheldon <lsheldon@creighton.edu>
Next: restricting posts
From: Michael von Roeder <micha@womble.s.bawue.de>

Google
 
Search Internet Search www.greatcircle.com