kanish has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Array contains
@arr=(["one" => [1,11]], ["two"=> [2,22]]);
I need to insert 222 in second Element.
Needed output
@arr=(["one" => [1,11]], ["two"=> [2,22,222]]);
please guide me.
Note: Index position may vary.
Thanks,
Kanishk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: insert value into an array
by ayrnieu (Beadle) on Feb 14, 2006 at 09:45 UTC | |
Re: insert value into an array
by Samy_rio (Vicar) on Feb 14, 2006 at 09:48 UTC | |
Re: insert value into an array
by turo (Friar) on Feb 14, 2006 at 09:51 UTC | |
Re: insert value into an array
by GrandFather (Saint) on Feb 14, 2006 at 09:57 UTC | |
Re: insert value into an array
by inman (Curate) on Feb 14, 2006 at 09:54 UTC | |
Re: insert value into an array
by vennirajan (Friar) on Feb 14, 2006 at 09:57 UTC |