Create lists of number variables
#!/usr/bin/perl
print "Content-Type: text/html \n\n";
# This script demonstrates how to create a numeric array.
@AcmeInventory = (178,286,387);
print @AcmeInventory;
print "<p>We just created a list of numbers using an array variable!";
Related examples in the same category