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

Re: hash slice from array items

Thread Previous | Thread Next
Jonathan Scott Duff
May 25, 2005 09:09
Re: hash slice from array items
Message ID:
On Wed, May 25, 2005 at 05:00:39PM +0100, Carl Franks wrote:
> Is %hash{@array} the correct way to get a hash slice using elements of
> an array?


> (it's giving me a compilation error with pugs)

Works just fine for me.  What version of pugs are you using?  Perhaps
you need to upgrade.

Jonathan Scott Duff

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