in reply to Push function
You can use this to achieve it.
use Data::Dumper; my @arr = ([11,22,[[]]],[333,444,[]],[6666,7777,[]]); push(@{$arr[0][2][0]},3); print Dumper @arr;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Push function
by boom (Scribe) on Apr 06, 2009 at 05:50 UTC | |
by moritz (Cardinal) on Apr 06, 2009 at 06:17 UTC | |
by ysth (Canon) on Apr 06, 2009 at 21:18 UTC |
In Section
Seekers of Perl Wisdom