Assigning anonymous hash to a list

Peter Corlett abuse at
Wed Jul 31 18:37:13 BST 2013

On Wed, Jul 31, 2013 at 01:04:11PM -0300, Hernan Lopes top-posted:
> it should be the same size to do what he wants... otherwise it wont work.

Why "should"? Perl doesn't require the LHS of an array assignment have the same
number of elements as the RHS, and there are a number of use cases where you
may not want it.

More information about the mailing list