develooper Front page | perl.perl6.users | Postings from January 2019

I need hash inside a hash help

Thread Next
ToddAndMargo via perl6-users
January 11, 2019 18:57
I need hash inside a hash help
Message ID:
Hi All,

How do I do a hash inside a hash?

So far I have:

$ p6 'my %Vendors=("acme" => ( "ContactName" => "Larry, "AccountNo" => 
1234 ) ); say %Vendors;'
===SORRY!=== Error while compiling -e

I want to be able to have both a Contact Name and and AccountNo
associated with each key in %Vendors.

Many thanks,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About