Spoken Tutorial

Including files or modules - 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
  • Including files or modules
  • 20
    Sample PERL program
  • 21
    Perl Module Library (CPAN)
  • 22
    Downloading CPAN module
  • 23
    Perl and HTML
  1. Instruction Sheet
Outline:
Including Files or modules in Perl program We can include the Perl modules or files by using the following methods. 1. do: It includes the source code from other files into the current script file. 2. use: It includes Perl module files only. Files get included before the actual execution of the code. 3. require: It includes both Perl programs and modules.

Assignment

Status:

Code files

  • Source-code/commonfunctions.pl
  • Source-code/callprogram.pl
  • Source-code/app.pl
  • Source-code/datetime.pl
  • Source-code/sum.pm
  • Source-code/main.pl
  • Source-code/

Status:

Slides

  • Slides_Including files/Perl-Including files-modules.tex
  • Slides_Including files/st-logo.png
  • Slides_Including files/Perl-Including files-modules.pdf
  • Slides_Including files/

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