So I'm working on trying to build a system for entering Mac OS X Server system_profiler output into a database.
First step, though, is parsing the .spx files that system_profiler creates with the -xml option.
I looked at the various .plist ('cuz it's a PropertyList file) perl modules and none seem to be so robust. Since I've a special purpose, I'm rolling my own.
It's read-only and works well enough now, but I'm getting odd warnings about undefined iterators in substitutions.
Once I get this part done, so that I can build a data structure in memory from a .spx file, I'll write the code to actually interface with it in a useful way.
Specifically, I hope to write code to enter this data into a MySQL database and pull it back out as needed. And to produce reports via CGI.
Oh, and I'm trying out writing journal entries on use.perl.org.... ;-)
--plambert