Perl
From Christoph's Personal Wiki
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
- Math::Bezier
- 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!