in reply to Re^2: printing hashes
in thread printing hashes

Looks like pugs does most of this:

$ pugs -e'my @array=1..5;say "Array is @array[]";' Array is 1 2 3 4 5 $ pugs -e'my @array=1..5;say "Array is {@array}";' Array is 1 2 3 4 5 $ pugs -e'my %hash;%hash{"a".."c"}=1..3;say "Hash is %hash{}"' Hash is a 1 b 2 c 3 $ pugs -e'my %hash;%hash{"a".."c"}=1..3;say "Hash is {%hash}"' Hash is a 1 b 2 c 3 $ pugs -e'my %hash;%hash{"a".."c"}=1..3;say "Hash is %hash.as(q(%s => +%s), q(, ))";' *** Error: No compatible subroutine found: "&as" at -e line 1, column +35-73 $
Pugs version is 6.2.2.

After Compline,
Zaxo