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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How Perl can push array into array and then how retrieve
by jwkrahn (Abbot) on Nov 25, 2021 at 07:15 UTC | |
by cavac (Parson) on Nov 30, 2021 at 15:05 UTC | |
by kcott (Archbishop) on Dec 02, 2021 at 08:14 UTC | |
by cavac (Parson) on Dec 03, 2021 at 12:22 UTC |
In Section
Seekers of Perl Wisdom