in reply to Re: How to save first two columns of an array into another array
in thread How to save first two columns of an array into another array
Or to explore the language just a little more:
my @l; push @l, @$_ for @S;
to show statement modifiers and that push can push multiple elements at a time.
Update: Fix array name inconsistency.
True laziness is hard work
|
---|
In Section
Seekers of Perl Wisdom