Spoken Tutorial

Sample PERL program - English

PERL Tutorials - English 23
  • 1
    Overview and Installation of PERL
  • 2
    Variables in Perl
  • 3
    Comments in Perl
  • 4
    for for each loops
  • 5
    while do while loops
  • 6
    Conditional statements
  • 7
    More Conditional statements
  • 8
    Data Structures
  • 9
    Arrays
  • 10
    Array functions
  • 11
    Hash in Perl
  • 12
    Functions in Perl
  • 13
    Blocks in Perl
  • 14
    Access Modifiers in PERL
  • 15
    Referencing and Dereferencing
  • 16
    Special Variables in PERL
  • 17
    File Handling
  • 18
    Exception and error handling in PERL
  • 19
    Including files or modules
  • Sample PERL program
  • 21
    Perl Module Library (CPAN)
  • 22
    Downloading CPAN module
  • 23
    Perl and HTML
  1. Instruction Sheet
Outline:
Sample Perl program We have included all the major topics we covered so far in this sample program. This program will give the output of various weather forecast reports of a region. 1. Weather.pm is a module that has a complex data structure to hold the data required for this program. 2. weather_report.pl is the Perl program which makes use of this module file to give the required output.

Assignment

Status:

Code files

  • SampleProgram_source code/Weather.pm
  • SampleProgram_source code/weather_report.pl
  • SampleProgram_source code/

Status:

Slides

  • SampleProgram_slides/Perl-SampleProgram.tex
  • SampleProgram_slides/st-logo.png
  • SampleProgram_slides/Perl-SampleProgram.pdf
  • SampleProgram_slides/

Status:

  • FOSSEE Project
  • Scilab Project
  • Oscad
  • Python
  • CFD
  • OR-Project
  • Aakash Labs
  • Co-learn
  • Education Mission
  • Software Training
  • Creation
  • News
  • About
  • Training
Developed at IIT Bombay
This work is licensed under Creative Commons