\n{\n "Todd's Key" => "This is cool",\n NSRecentDocuments => [\n "/Users/todd/Text File.txt",\n "/Users/todd/Desktop/Documents/Readme.rtf",\n "/tmp/file.txt",\n "/tmp/file2.txt",\n ],\n};\n
That's valid Perl. Like the plists that you're looking for, you can nest arbitrarily to produce any data structure that you want.
It shouldn't be particularly hard to write a parser that loads/dumps between plists and the above internal Perl data structure. The main problem that you might run into is in coming up with a good name to use when trying to release the module into the wild. (Because "plist" is such an ambiguous term.)
Incidentally what is the relationship between that kind of plist and the XML-based one that [link|http://search.cpan.org/~bdfoy/Mac-PropertyList-0.9/lib/PropertyList.pm|http://search.cpan.o...b/PropertyList.pm] deals with?
Cheers,
Ben