On 12-06-02 02:41 PM, Chris Nehren wrote:
And the disadvantage of clobbering whatever's in /usr/local/bin/perl,
defeating the point of perlbrew in the first place.

Don't do that.

Yes, the `#!/usr/bin/env perl` shebang should do. I've used it with
perlbrew myself.

On my machine, perl is at /usr/bin/perl so it doesn't get clobbered. (And `ln -s ...` won't clobber an existing file anyway.)

Also, perlbrew only works if your .profile is run. That means it doesn't work for cron(1) jobs nor as a CGI.


--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

        _Perl links_
official site   : http://www.perl.org/
beginners' help : http://learn.perl.org/faq/beginners.html
advance help    : http://perlmonks.org/
documentation   : http://perldoc.perl.org/
news            : http://perlsphere.net/
repository      : http://www.cpan.org/
blog            : http://blogs.perl.org/
regional groups : http://www.pm.org/

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to