Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://479536]
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: The fun show at $work continues, as The Big Project is now in its second week of frantic live-bugfixing and weekend releases where nobody knows what went live. Nothing has been tested anyway.
erix mutters cantankerously under his breath
Corion watches from the sidelines. Or rather, from behind, as my system only gets output from that process and my programs adhere strictly to the GIGO design principle.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-03-28 08:51 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (328 votes). Check out past polls.