Spoken Tutorial

Arrays - 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
  • 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
  • 20
    Sample PERL program
  • 21
    Perl Module Library (CPAN)
  • 22
    Downloading CPAN module
  • 23
    Perl and HTML
  1. Instruction Sheet
Outline:
1. Getting Last index of array 2. Getting length of an array To get the length, add 1 to last index of an array Other way is use scalar function on array or assign array a scalar variable. 3. Accessing element of an array 4. Looping over an array There are two ways to loop over an array

Assignment

Status:

Code files

  • CodeFiles/arrayIndex.pl
  • CodeFiles/arrayLength.pl
  • CodeFiles/loopingOverArray.pl
  • CodeFiles/perlArray.pl
  • CodeFiles/

Status:

Slides

  • Arrays.tex
  • Arrays.pdf
  • 3t-logo.pdf

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