Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 surveying the Monastery: (8)
As of 2014-08-23 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls