Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Properties, metadata and Perl celebrities

by simonm (Vicar)
on Jul 29, 2005 at 21:51 UTC ( #479536=note: print w/ replies, xml ) Need Help??


in reply to Properties, metadata and Perl celebrities

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.


Comment on Re: Properties, metadata and Perl celebrities
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://479536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-10-25 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls