Perl 6 Perl 6 today #20

Displaying the contents of a hash

Perl 5:

for (keys %h) { 
    print "$_ = $h{$_}\n";
}
continued...
Copyright © 2009
http://www.pmichaud.com/2009/pres/