>>>>> "Dermot" == Dermot <paik...@gmail.com> writes:
Dermot> On 13 October 2011 03:07, Randal L. Schwartz <mer...@stonehenge.com> wrote: >>>>>>> "Shawn" == Shawn H Corey <shawnhco...@gmail.com> writes: >> Shawn> #!/usr/bin/env perl >> >> Please. Don't. Dermot> This is quite relevant for me at the moment. I have a couple of Dermot> projects where I will not be using the system perl and I was under Dermot> the impression that using `env perl` was the preferred method. So it Dermot> you using perlbrew, local::lib or just build a perl in some exotic Dermot> directory, are you suggested we give the path to the perl you want to Dermot> use? What's the reasoning? Because this uses *my* environment when I run *your* Perl script. That's broken. Hardcode the path. Or install it using any of the module tools, which will replace #!perl with the proper hardcoded local Perl path. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/