Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.

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: (3)
As of 2016-10-01 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.