Re: lvalue hash slice

"A. Pagaltzis" <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <20030930204453.GA6584@klangraum>
* Gaal Yahas <[email protected]> [2003-09-30 20:14]:
> Sadly, this doesn't work as an lvalue:
>     @hash{ qw/aaa bbb ccc/ } = ($one, $two, $three);

I use that *all* the time. The problem is not with Perl here..

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.