in reply to Re: how to assign map results to arrays
in thread how to assign map results to arrays

Perl flattens arrays. List assignment is greedy.

The sooner you stop trying to fight it and just accept these fact, the happier your Perl programming experience will be :-)

--

See the Copyright notice on my home node.

"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg

  • Comment on Re^2: how to assign map results to arrays