Macros to test simple / complex vars.
Map / grep on arrays.
Add grep / map support for hashes.
Handle map/grep on scalars.
Test compound hash/array for map/grep.
Don't release every time round the loop.