[illumos-Developer] On Perl

Alexander Eremin alexander.eremin at nexenta.com
Tue Mar 15 23:19:04 PDT 2011


On Mar 15, 2011, at 11:34 PM, John Sonnenschein wrote:

>
> On Mar 15, 2011, at 1:30 PM, Alexander Eremin wrote:
>
>>
>> On Mar 15, 2011, at 11:19 PM, John Sonnenschein wrote:
>>
>>>
>>> On Mar 15, 2011, at 12:22 PM, Alexander Eremin wrote:
>>>> Nice. One wish -  dtrace support should be enabled in 5.12.3
>>>> and all perl scripts in illumos should have universal exec path,  
>>>> which is not dependent
>>>> from perl version.
>>>
>>>
>>> Both are the case. AFAIK Illumos uses exclusively /usr/perl5/bin/ 
>>> perl and dtrace is enabled in the illumos-extra version (it is  
>>> left as an exercise to the distro maintainer if they want to  
>>> deliver it another way)
>>>
>>> -JohnS
>>
>> I prefer just /usr/bin/perl or maybe  /usr/bin/perl5.12...
>
> I disagree. /usr/bin/perl5.12 makes upgrading a great deal more  
> difficult in the future (since everything that uses perl such as  
> intrd(1M) would have to be modified) and /usr/bin/perl makes demands  
> of the distributions that the canonical perl be the required system  
> perl, ie they can't deliver their own newer/older perl with  
> different features as the canonical perl.
>
> Pointing to /usr/perl5/bin/perl is a good compromise IMO of having a  
> central unversioned place to find system perl, without forcing  
> anyone who doesn't want to to use potentially outdated technology
>
> -JohnS
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer


I remember that every time when I have copied some perl script from  
one linux distribution to another,
the first thing I always did - was change the exec path, because it  
always was different. In addition, we use such scheme for python for  
example.

Thanks,
:: Alexander









More information about the Developer mailing list