[pgh-pm] Perl packages
ceo at fat24.com
Fri Jan 6 10:16:23 PST 2006
On Friday, Jan 6, 2006, at 12:16 US/Eastern, Chris Winters wrote:
> On 1/6/06, Weber, Larry A <laweber at switch.com> wrote:
>> I am gradually moving my Perl scripts from a Windows PC to a PC
>> Linux, and have a few questions related to package management.
>> Does anyone know if there is an equivalent to PPM for Linux?
> As long as you have make and a compiler for modules with XS, the CPAN
> shell works very well -- IIRC modern Perls install a 'cpan' script at
> /usr/bin that will startup the shell for you, otherwise you need to
>> perl -MCPAN -e shell
Anyone using a Mac OS X might find it handy to cd ~ and pico your
.loginrc file, adding the line:
alias cpan 'cd /usr/bin/ && sudo perl -MCPAN -e shell'
Then from ~ make sure to % source .loginrc
Then you can just type "cpan" from the terminal any time you want to
install a perl module.
More information about the pgh-pm