Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Multidimensional Arraysby chb (Deacon) |
on Nov 25, 2004 at 10:54 UTC ( [id://410369]=note: print w/replies, xml ) | Need Help?? |
This works, too:
I think ist is a little bit clearer (from in to out): 1. fetch array element 0, 2. dereference, 3. treat it like an array, 4. fetch via [$i]. But this all looks really ugly. It would be better to fix the strange assignment to @another than to use such a complicated expression just to fetch a value...
In Section
Tutorials
|
|