Re: Clean Install

[email protected] (Sherm Pendley) Fri, 17 Jun 2011 16:27:28 -0400
Newsgroups perl.macosx
Message-ID <[email protected]>
On Fri, Jun 17, 2011 at 3:36 PM, Chas. Owens <[email protected]> wrote:
> On Fri, Jun 17, 2011 at 08:14, Marek Stepanek <[email protected]>=
 wrote:
> snip
>> #!/usr/bin/perl
> snip
>> And yes, yes, perlbrew activated the right perl:
>>
>> perl -v
>>
>> This is perl 5, version 14, subversion 0 (v5.14.0) built for darwin-2lev=
el
> snip
>
> Take another look at the shebang line. =A0You are asking for the version
> of perl installed in /usr/bin. =A0This is the system version of perl
> (which is why you are getting 5.10). =A0Your scripts need to start with
> one of the following paths:
>
> #!/home/USERNAME/perl5/perlbrew/perls/perl-5.14.0/bin/perl

Or:

#!/home/USERNAME/perl5/perlbrew/perls/current/bin/perl

If you want your script to run with whatever Perl perlbrew has
currently selected.

sherm--

--=20
Cocoa programming in Perl:
http://camelbones.sourceforge.net