Difference between revisions of "Perl"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
 
 
Line 1: Line 1:
= Perl Administration =
+
==Perl Administration==
  
Install a new module for Perl
+
Install a new module for Perl from CPAN:
 
  perl -MCPAN -e 'install Base::Modulename'  # to install Base::Modulename, eg Crypt::PasswdMD5
 
  perl -MCPAN -e 'install Base::Modulename'  # to install Base::Modulename, eg Crypt::PasswdMD5
 +
Make sure there's not an official package, first though. We've had some problems with module dependencies bite us (ldapcat and friends on einstein).
  
 
You can find what modules exists in [http://search.cpan.org/ search cpan]  [http://www.cpan.org/modules/00modlist.long.html cpan modules list]  [http://kobesearch.cpan.org/ kobesearch]
 
You can find what modules exists in [http://search.cpan.org/ search cpan]  [http://www.cpan.org/modules/00modlist.long.html cpan modules list]  [http://kobesearch.cpan.org/ kobesearch]

Latest revision as of 18:57, 21 May 2008

Perl Administration

Install a new module for Perl from CPAN:

perl -MCPAN -e 'install Base::Modulename'  # to install Base::Modulename, eg Crypt::PasswdMD5

Make sure there's not an official package, first though. We've had some problems with module dependencies bite us (ldapcat and friends on einstein).

You can find what modules exists in search cpan cpan modules list kobesearch