NOVA SOUTHEASTERN UNIVERSITY

CGI/PERL

1. PERL EXAMPLES
These examples are from a textbook (you will need to get) by Randal L. Schwartz, Learning Perl, O'Reilly & Associates, isbn 1-56592-042-2.
  • prog01: print "hello world\n";
  • prog02: variable $name and <stdin> operator;
  • prog03: if (cond) {statement;} else {statement;}
  • prog04: secret word
  • prog05: array
  • prog06: associative array
  • prog07: default secret word
  • prog08: search a pattern
  • prog09: search and replace
  • prog10: subroutine
  • prog11: filehandle
  • prog12: file age
  • prog13: process (mail)
  • prog14: filename glob
  • prog15: getpwuid
  • prog16: format
  • prog17: more on format
  • prog18: rename file
  • prog19: dbmopen()
  • prog19a: example 1
  • prog19b: example 2
  • 2. THE DLS SERVER AND CGI/PERL DEVELOPMENT

  • Access to CGI SCRIPT EXAMPLES on the new server DLS
  • 3. CGI/PERL AND DBI

  • CGI/DBI/Perl sample examples
  • CGI/DBI/Perl source