good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: searching data lines between keywordsby lupey (Monk) |
on Jun 14, 2005 at 16:50 UTC ( [id://466633]=note: print w/replies, xml ) | Need Help?? |
@{$hash{$currentkey}} is an array so you can truncate the array just as you would any other array. You don't need to use push. Both of these will do the trick
Lupey
In Section
Seekers of Perl Wisdom
|
|