[sf-perl] dynamic #! line

Matthew Lanier matt at lanier.org
Mon Mar 23 17:48:23 PDT 2009


long story, i'm trying to not modify the startup context if i don't need 
to.

as dfetter suggested, '/usr/bin/env perl' works, though it appears to work 
via perl being in the path.

m@

On Mon, 23 Mar 2009, Andy Lester wrote:

>
> On Mar 23, 2009, at 7:39 PM, David Fetter wrote:
>
>> > i'm in a situation where I may need to set #! on a perl script at
>> > run time via the environment.  I know that's technically possible,
>> > but am unsure what hidden gotchas may result.  Any thoughts on that?
>
>
> What are you trying to achieve by setting the #! line?  Unless you're setting 
> -t/-T, you should be able to do the rest at startup without touching the 
> shebang.
>
> xoxo,
> Andy
>
> --
> Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
>
>
>
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>

-- 

Matthew D. P. K. Strelchun-Lanier


More information about the SanFrancisco-pm mailing list