Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5c8e3567fd
Fetching contributors…

Cannot retrieve contributors at this time

file 71 lines (43 sloc) 1.677 kb

DBI, and its DBD children, like DBD::SQLite

LWP stands for "libwww-perl", and is the standard way of talking to web pages.

WWW::Mechanize is a superset of LWP that makes HTML processing easier.

Use Date::Manip, Date::Calc or DateTime. All have different styles and different capabilities.

Use Getopt::Long.

Use CGI.

Whatever you do, don't use regular expressions. Use HTML::Parser or one of the many classes that uses it. Look around on http://search.cpan.org.

If you're parsing HTML so that you can extract links or images from a web page, use WWW::Mechanize which handles it for you.

See the list of Recommended XML Modules at the Perl 5 wiki.

http://www.perlfoundation.org/perl5/index.cgi?recommended_xml_modules

Use Term::ANSIColor. Example wanted.

Use Term::ReadKey (http://search.cpan.org/dist/TermReadKey). It's a standard core module.

    use Term::ReadKey;

    ReadMode('noecho');
    my $passwd;
    my $pwcheck;

    print 'password: ';
    chomp($passwd = <STDIN>);
    print "\n";

    print 'verify: ';
    chomp($pwcheck = <STDIN>);
    print "\n";
    ReadMode('normal');

    print "You entered [$passwd] and [$pwcheck]\n";
Something went wrong with that request. Please try again.