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

Re: I need hash string help

Thread Previous | Thread Next
From:
Tom Browder
Date:
January 12, 2019 01:59
Subject:
Re: I need hash string help
Message ID:
CAFMGiz8bgzT+P+4TrYq-XTf2EdLHYsuy9n6L2=q2Kp5r9LC4OQ@mail.gmail.com
On Fri, Jan 11, 2019 at 19:09 ToddAndMargo via perl6-users <
perl6-users@perl.org> wrote:

> Now what am I doing wrong?  I need to convert the value in a
> hash to a string:
>
> $ p6 'my $x = "acme"; my Str $y; my %Vendors = ( acme => ContactName =>
> "Larry" );


Try eliminating “acme =>” for a starter.

-Tom

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About