Subject: | Object type list in POD is incorrect. |
Date: | Fri, 08 Jun 2012 15:01:11 +0200 |
To: | bug-Mac-PropertyList [...] rt.cpan.org |
From: | Kevin Frost <biztos [...] mac.com> |
Hi there.
In Mac::PropertyList 1.35, there is a documentation bug.
At line 97 we see the following list:
There are several types of objects:
Mac::PropertyList::string
Mac::PropertyList::data
Mac::PropertyList::real
Mac::PropertyList::integer
Mac::PropertyList::date
Mac::PropertyList::array
Mac::PropertyList::dict
It fails to mention the "true" and "false" types, which are essential for dealing with boolean values.
In addition, I humbly suggest adding an explanatory note about true/false, since it is not obvious if you haven't been working with raw plist files; the property list editor in XCode shows you a "BOOLEAN" type, which of course is only a "helpful" abstraction.
cheers
-- frosty