next up previous contents index
Next: Perl subroutines Up: Perl data structures Previous: Hashes

Summary

$varA scalar variable (string, number, or pointer)
@listA complete list.
$#listHighest index of a list.
$list[$index]An element of a list at position index.
@list[$i..$j]A part of a list.
push(@list,$var)Add an element to a list.
pop(@list)Delete last element from a list.
%hashA complete hash.
$hash{$key}One element identified by key.
keys %hashAll keys of a hashes a list.
values %hashAll values of a hash as a list.



Ingo Melzer
Mon Aug 5 15:12:01 MET DST 1996