Difference between revisions of "Perl"
From Christoph's Personal Wiki
(→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.
Contents
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
- DBI
- WWW::Mechanize (see: [1])
- WWW::Search::PubMed (see: [2])
- WWW::Search::NCBI::PubMed
- MediaWiki
- mvs
Upgrade CPAN
% perl -MCPAN -e shell cpan>install Bundle::CPAN cpan>q
BioPerl
See: http://www.bioperl.org/wiki/Main_Page
External links
- Perl version 5.8.8 documentation
- Perl regular expressions
- perlrequick — Perl regular expressions quick start
- perlretut — Perl regular expressions tutorial
- "Beginning Perl" — full book online (as PDFs).
- wikipedia:Perl
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!