Perl programming Syllabus

Modules PSF-1 PSF-2 PB-1 PB-2 PP-1
Introduction:
  • How to get Perl
  • Testing for Perl in shell
  • Shebang line
  • Comments
  • Ouputting data
  • Line endings
  • Running Perl scripts
tick tick tick tick tick
Variables:
  • Strictly typed vs Dynamic
  • Scalars
  • Using Scalars
  • Working with Scalars
  • Interpolation
  • Joining strings
  • Repeating strings
  • Working with numbers
  • Arrays
  • Working with Arrays
tick tick tick tick tick
Interation:
  • Getting input from the user
  • Command line arguements
  • Standard Input
tick tick tick tick tick
Conditionals:
  • Perl's view of truth
  • if, else, elsif
  • Comparative operators
  • not, unless
tick tick tick tick tick
Loops and hash variables:
  • Random Numbers
  • Hash variable
  • Working with hashs
  • Looping
  • for/foreach
  • while
  • until
tick tick tick tick tick
Coding Task:
  • Random Number guessing game
  • Prepare the file
  • Comment steps
  • Create code
  • Example solution
tick tick tick tick tick
Taking things further:
  • Quotes
  • Quick Quotes
  • Reading from the Environment
  • Create code
  • Example solution
tick tick tick tick tick

* Note that depending on the ability of the students not all parts of the syllabus may be covered.