in reply to Best Practice for Lots of Static Data

I am wondering if perhaps storing your status descriptions in an XML file and the using XML::XPath might work for you? Have found this to be a fairly handy way to store and retrieve properties which refer to 'devices' in a certain state. The XML is fairly easy to update and XPath makes it easy to get what you want out of your XML.

Just a thought.. :-)

...the majority is always wrong, and always the last to know about it...

  • Comment on Re: Best Practice for Lots of Static Data

Replies are listed 'Best First'.
Re^2: Best Practice for Lots of Static Data
by cLive ;-) (Prior) on Dec 01, 2006 at 05:35 UTC

    No, you got that wrong. He needs to leverage the power of XML. If you talk about XML and leave out the word leverage, how on earth can I win Perlmonks bingo?

    I'm just bitter because I thought I was leveraging the power of XML today, but it turned out I was using XML::Simple instead :)

Re^2: Best Practice for Lots of Static Data
by Fletch (Bishop) on Dec 01, 2006 at 14:12 UTC