Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
Perl: Add Perl 6 section
Perl 5: don't expect we didn't do a "use strict"
Line 851:
 
<source lang=Perl>
my %phone_book = (
'Sally Smart' => '555-9999',
'John Doe' => '555-1212',
Line 879:
 
<source lang=Perl>
my $phone_book = {
'Sally Smart' => '555-9999',
'John Doe' => '555-1212',