Reading XML in Perl on OS X

Diego Zamboni diego-osxadmin at zzamboni.org
Mon Apr 2 14:20:26 PDT 2007


> Suppose my current perl is 5.8.1 on 10.3.9 and I run cpan upgrade,  
> it tells me it wants to install 5.8.8. It tells me it wants to  
> install  it in /usr/local. But in that case, I get a full second  
> perl on my system. Or I choose to install in /usr. but then it will  
> overwrite the existing perl.

Ah, but the trick is you don't run a CPAN upgrade, you just install  
the modules you need, for example:

# cpan
(maybe go through first-time configuration)
cpan> install XML::Parser

this should install just the modules you want, without modifying your  
current perl installation.

Hope this helps,
--Diego



More information about the MacOSX-admin mailing list