Question:

        When a Perl script - let's say myperl.pl - has the following as its
first line:

        #!/usr/bin/perl

        yet your PATH is set to use another version of Perl - let's say
/opt/perl5.6.1/bin/perl -

        then which 'Perl' is used when you execute the program from the
command line like so:

        /opt/perl5.6.1/bin/perl  -e myperl.pl

        and which is used when you execute the program from the command line
like so:

        myperl.pl

        In other words, which 'Perl' takes precedence or how does the
precedence work?

        ( I believe I know the answer but I have - not by my design -
several versions of Perl on my development system and I want to be sure
which Perl is being used because some have more modules installed than
others ).

        Thanks! 

> Anthony (Tony) Esposito
> Senior Technical Consultant 
> Inovis(tm), formerly Harbinger and Extricity
> 2425 N. Central Expressway, Suite 900 
> Richardson, TX  75080 
> (972) 643-3115 
> [EMAIL PROTECTED] 
> 
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to