[illumos-Developer] On Perl

John Sonnenschein johnsonnenschein at gmail.com
Tue Mar 15 13:34:27 PDT 2011


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


More information about the Developer mailing list