Displaying the contents of a hash
Perl 5:
for (keys %h) {
print "$_ = $h{$_}\n";
}
continued...
| Perl 6 | Perl 6 today | #20 |
Perl 5:
for (keys %h) {
print "$_ = $h{$_}\n";
}
continued...
|
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |