Main Page

Perl

From SOMWiki

Jump to: navigation, search

Perl is a general purpose scripting language.

Contents

Perl under UNIX, Linux and Mac OS X

Perl is installed on all unix machines by default. If you need a particular module installed globally, please alert the help desk. We recommend using perl for parsing text databases, and general purpose scripting. Programming help is available.

CPAN

To install a module via CPAN:

  • type: perl -MCPAN -e shell
    • Follow the default dialogs, at the mirror selections stage, select the closest mirror.
  • At the cpan prompt, type: install <module
    • Where <modules>, enter your desired module.
    • Example: install LWP


Perl under Windows

ActiveState Perl

Our suggestion is to download version 5.8.


Perl Package Manager (PPM)

To install modules under the windows version:

  • Open a command prompt windows
  • Type ppm
  • Next, type: install <module>
    • Where <module>, your desired module
    • Example: install WWW::Mechanize

Useful Perl Sites

Personal tools
Views