A Perl Array Data Structure is a Perl Data Structure that represents an Array Data Structure.
my @Array1 = ( 1, 2, 3);
my @Array2 = ("One", "Two", "Three");
my @Array3 = qw(One Two Three);
while (<>) {
my @tmp = split; # Split elements into an array.
...
}
for $i (@array) {
print $i ;
}
@ARRAY = (); # completely empty @ARRAY $#ARRAY = -1 ; # reset the index undef @ARRAY; # forget @ARRAY ever existed