Difference between revisions of "Perl"

From Christoph's Personal Wiki
Jump to: navigation, search
(External links)
Line 22: Line 22:
 
*[http://search.cpan.org/~spectrum/MediaWiki-1.08/lib/MediaWiki.pm MediaWiki]
 
*[http://search.cpan.org/~spectrum/MediaWiki-1.08/lib/MediaWiki.pm MediaWiki]
 
*[[mvs]]
 
*[[mvs]]
 +
 +
==Upgrade CPAN==
 +
% perl -MCPAN -e shell
 +
cpan>install Bundle::CPAN
 +
cpan>q
  
 
==BioPerl==
 
==BioPerl==

Revision as of 22:48, 27 April 2007

Perl is a dynamic programming language.

Regex

see: Regular expression

Search and replace all "foo" with "bar" in filename:

perl -i -pe 's/foo/bar/gi' filename

Modules

Search and download: http://search.cpan.org/

Installing

perl -MCPAN -e shell
#Or,
perl -MCPAN -e "install Example::Module"

My favourites

Upgrade CPAN

% perl -MCPAN -e shell
cpan>install Bundle::CPAN
cpan>q

BioPerl

See: http://www.bioperl.org/wiki/Main_Page

External links

This article is curently a "stub". This means it is an incomplete article needing further elaboration.

I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!