[sf-perl] dynamic #! line

david wright- [白熊] david_v_wright at yahoo.com
Mon Mar 23 21:16:30 PDT 2009


geez, my bad, this went into another dir, so I didn't see all the other responses, sorry for the duplicate suggestion,...

--- On Tue, 3/24/09, david wright- [&#30333;&#29066;] <david_v_wright at yahoo.com> wrote:

> From: david wright- [白熊] <david_v_wright at yahoo.com>
> Subject: Re: [sf-perl] dynamic #! line
> To: matt at lanier.org, "San Francisco Perl Mongers User Group" <sanfrancisco-pm at pm.org>
> Date: Tuesday, March 24, 2009, 12:14 AM
> 
> Howdy, 
> 
> I'm not sure I follow fully, it seems you want to use a
> system specific possibly unknown ahead of time perl path?
> 
> e.g. maybe not /usr/bin/perl
> 
> would borrowing the python trick of #!/usr/bin/env perl
> work? 
> 
> let your env decide which perl to use? or am I missing the
> point?
> 
> +dave
> 
> 
> --- On Mon, 3/23/09, Matthew Lanier <matt at lanier.org>
> wrote:
> 
> > From: Matthew Lanier <matt at lanier.org>
> > Subject: [sf-perl] dynamic #! line
> > To: sfpug at sf.pm.org
> > Date: Monday, March 23, 2009, 8:36 PM
> > hey folks-
> > 
> > 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?
> > 
> > m@
> > 
> > 
> > -- 
> > Matthew D. P. K. Strelchun-Lanier
> > _______________________________________________
> > SanFrancisco-pm mailing list
> > SanFrancisco-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
> > 
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
> 


More information about the SanFrancisco-pm mailing list