develooper Front page | perl.perl6.language | Postings from May 2005

Re: hash slice from array items

Thread Previous
From:
Carl Franks
Date:
May 25, 2005 09:22
Subject:
Re: hash slice from array items
Message ID:
4f352aae05052509215ca3719f@mail.gmail.com
On 5/25/05, Jonathan Scott Duff <duff@pobox.com> wrote:
> Works just fine for me.  What version of pugs are you using?  Perhaps
> you need to upgrade.

Ok, I've just realised I had missed a '->' to '.' in my perl5 to perl6
conversion,
I was trying to do
%hash{@array} = $obj->list;

I wasn't sure if slicing from an array was implemented, as I couldn't
find any pugs tests for it.

Thanks for your help,
Carl

Thread Previous


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