hi
i have a recordfile consisting of a hash of hashes of arrays.
i would like to print the records based on a search agianst the content of the arrays.
im trying something like this, but its not working. im not good at dereferencing stuff.
so $regex is the REGEX string by which i search.
$search item is the secondary hash key
$records is my records
print grep { grep /$regex/i, @{ $_->{ $search_item } } } ${ $records };
any ideas?
martin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]