joec_ has asked for the wisdom of the Perl Monks concerning the following question:
I have a bunch (20+) of perl scripts that i use on both a development and production environment which have different perl paths. My question is this... is it possible to set the #! line using the environment? So something like this:
#!${DEV_PERL_PATH}
or am i barking up the wrong tree?
Thanks
Joe
-----
Eschew obfuscation, espouse elucidation!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Setting #! path using environment
by moritz (Cardinal) on Jul 01, 2009 at 09:08 UTC | |
|
Re: Setting #! path using environment
by JavaFan (Canon) on Jul 01, 2009 at 10:42 UTC | |
|
Re: Setting #! path using environment
by Anonymous Monk on Jul 01, 2009 at 10:33 UTC | |
|
Re: Setting #! path using environment
by afoken (Chancellor) on Jul 01, 2009 at 14:33 UTC | |
|
Re: Setting #! path using environment
by rovf (Priest) on Jul 01, 2009 at 11:47 UTC | |
|
Re: Setting #! path using environment
by mzedeler (Pilgrim) on Jul 01, 2009 at 11:02 UTC |