http://qs1969.pair.com?node_id=11139100


in reply to Re: How Perl can push array into array and then how retrieve
in thread How Perl can push array into array and then how retrieve

Just as an afterthought, an even more succinct way is

... my @f; push @f, [$_+2, $_+1] for 0 .. 5; ...

which produces identical output.

— Ken