Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Properties, metadata and Perl celebritiesby simonm (Vicar) |
on Jul 29, 2005 at 21:51 UTC ( [id://479536]=note: print w/replies, xml ) | Need Help?? |
Consider replacing the boolean fields (face, person, etc.) with a single field of space-spearated keywords.
This is also easy to search (grep { $_->{keywords} =~ /\bface\b/ } @items) and it avoids having an unpredictable set of top-level properties.
In Section
Meditations
|
|