[sf-perl] dynamic #! line

Andy Lester andy at petdance.com
Mon Mar 23 17:44:14 PDT 2009


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






More information about the SanFrancisco-pm mailing list