in reply to Problem of Duplicating an Array while Parsing Text
You want to push an AoA:
elsif ( $line =~ /^$/xms ) { push @temp2, [(@temp,[@ins_grp])] if (@ins_grp); @ins_grp = (); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem of Duplicating an Array while Parsing Text
by monkfan (Curate) on Dec 20, 2005 at 08:15 UTC | |
by GrandFather (Saint) on Dec 20, 2005 at 11:09 UTC | |
by tphyahoo (Vicar) on Dec 20, 2005 at 09:03 UTC |