in reply to Re^3: Selecting Ranges of 2-Dimensional Data
in thread Selecting Ranges of 2-Dimensional Data
Array elements aren't globs, so no.
It is possible to create an array of aliases without an external module, though.
sub getsubset { my $d = shift; return [ sub { \@_ }->( @{$$d[1]}[1,2] ), sub { \@_ }->( @{$$d[2]}[1,2] ), ]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Selecting Ranges of 2-Dimensional Data
by LanX (Saint) on Oct 29, 2018 at 01:00 UTC |