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

Re: hash slice from array items

Thread Previous
Carl Franks
May 25, 2005 09:22
Re: hash slice from array items
Message ID:
On 5/25/05, Jonathan Scott Duff <> 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
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,

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