www.perl.com
Perl Programming
Modules
  • Modules provide extra functionality
    • CGI provides a CGI scripting interface
    • Data::Dumper prints out data structures like hashes
    • DBI provides a database interface
    • Error provides simple error handling
  • Using modules
    • use modules at the top of your program
    • Some modules take a parameter list
    • perldoc gives information about installed modules

         use CGI qw(:standard);
         print header,
               start_html('A Simple Example'),
               h1('A Simple Example'),
               p("Hello, World"),
               end_html;
      
Previous http://stuff.mit.edu/iap/perl/