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
In reply to Re^2: how to assign map results to arrays
by davorg
in thread how to assign map results to arrays
by perlfan99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |