perlquestion
Anonymous Monk
Learned Monks,
I have constructed a two dimensional array of data and I wish to extract certain columns. I have attempted to use a slice notation thus;
<code>
my @slice = @2darray([o][3]...[25][3]); # [3] is the column I want
</code>
This form (if I recal correctly) does not cause "strict" to barf all over my console however what it does retrieve is EVERY element from <code>[0][3]</code> to <code>[25][3]</code>.
So, is it possible using a slice type notation to get one column of data or am I (urm) barfing up the wrong tree?
many thanks.
41