Perl Programming | ||
---|---|---|
Anonymous Data | ||
my $fruits = ["apple", "bananas", "cherries"]; my $wheels = {unicycle => 1, bike => 2, tricycle => 3, car => 4, semi => 18}; print "A car has $wheels->{car} wheels.\n"; A car has 4 wheels. |
||
Previous | http://stuff.mit.edu/iap/perl/ | Next |