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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://479536]
help
Chatterbox?
[Eily]: duck typing is when someone starts typing in python you have to duck, fast
[shmem]: trading perl for python is just like throwing away a big tool box, to be given a hammer, a gripper and a screwdriver instead

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2018-04-20 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?