$attributes{color} = 'blue';
$attributes{speed} = 100;
$attributes{spin} = 'negative';
$attributes{altitude} = 7500;
print "Spin is: ", $attributes{spin}, "\n"; |
%attributes = (color => 'blue',
speed => 100,
spin => 'negative',
altitude => 7500); |
Forward to 20 Minutes: Warnings and use strict
Back to 20 Minutes: Text to data (and back): arrays I Up to PerlInside section index Up to Perl Inside course index |
Perl Inside: PerlInside - 22
Copyright © 1999, Brian Jepson
|