Example two - array variables
#Example two - array variables and print.
# by Al Bento
$a = "this is example";
$b = 2;
@a = ($a, $b);
# please note that we use  brackets to indicate elements of
# the array in the print command below.
print "$a number $a\n";
Download the script
This page is maintained by Al Bento
who can be reached at email@example.com. This page was last updated on June 15, 1997. Although we will attempt to keep this information accurate, we can not guarantee the accuracy of the information provided.