in reply to Parsing an Array of Hashes, Modifying Key/Value Pairs
Your usage of grep is incorrect. In your first script, use
if ( !grep(/$key/, @keysToKeep) )
to make it work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing an Array of Hashes, Modifying Key/Value Pairs
by LanX (Saint) on May 12, 2013 at 18:50 UTC | |
by librarat (Novice) on May 12, 2013 at 21:11 UTC |