[sf-perl] dynamic #! line
david wright- [白熊]
david_v_wright at yahoo.com
Mon Mar 23 21:14:30 PDT 2009
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
>
More information about the SanFrancisco-pm
mailing list