xml - Perl - Parsing Property Lists? -
which best method parsing mac property lists perl? i'm trying write script parse plists containing various arguments, including nested within layers of containers (arrays in dictionaries, or dictionaries in dictionaries).
as far can tell, there 's few options:
- mac::propertylist module on cpan. however, it's quite low-level , warning gives me pause:
you shouldn't use in applications--build interfaces on top of don't have put heinous multi-level object stuff people have @ it.
i have option convert plists format, i'm considering using xml parser module, well. i'm not sure best in situation.
i've read that plists can converted json in os x 10.7, if there exists perl libraries parsing json, i'm open too, long isn't of headache dealing nested entries.
any suggestions?
update: @ point i'm highly leaning towards json option, because it's less of headache xml.
Comments
Post a Comment