Arrays - English
PERL Tutorials - English 23
-
1Overview and Installation of PERL
-
2Variables in Perl
-
3Comments in Perl
-
4for for each loops
-
5while do while loops
-
6Conditional statements
-
7More Conditional statements
-
8Data Structures
-
Arrays
-
10Array functions
-
11Hash in Perl
-
12Functions in Perl
-
13Blocks in Perl
-
14Access Modifiers in PERL
-
15Referencing and Dereferencing
-
16Special Variables in PERL
-
17File Handling
-
18Exception and error handling in PERL
-
19Including files or modules
-
20Sample PERL program
-
21Perl Module Library (CPAN)
-
22Downloading CPAN module
-
23Perl and HTML
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