Welcome to the Monastery | |
PerlMonks |
Re^3: How Perl can push array into array and then how retrieveby choroba (Cardinal) |
on Nov 25, 2021 at 14:16 UTC ( [id://11139117]=note: print w/replies, xml ) | Need Help?? |
There is more than one way to do it. You can compute calculate the numbers from a simple sequence: or you can use the C-style loop to skip over the unwanted numbers: or you can use grep to filter the numbers you want: etc.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|