Skip Menu |

This queue is for tickets about the Mac-PropertyList CPAN distribution.

Report information
The Basics
Id: 66312
Status: resolved
Priority: 0/
Queue: Mac-PropertyList

Owner: Nobody in particular
Requestors: sebthebert [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Bug in Mac::PropertyList when plist files have comments (<!-- -->)
Date: Wed, 2 Mar 2011 02:23:09 +0100
To: bug-Mac-PropertyList [...]
From: Thebert Sebastien <sebthebert [...]>
Download (untitled) / with headers
text/plain 662b
Hello Brian, first, I would like to thank you for all your work in the Perl community ! I tried your Mac::PropertyList module (version 1.33) on my Mac tonight and it fails with my /Applications/ (attached file). By setting the PLIST_DEBUG, I discovered that the problem was the comments (<!-- -->) in the plist file. This bug could be fixed (not sure it is the best solution) by adding 3 lines (attached file): 394a395,398 Show quoted text
> elsif (s[^\s*<!--(.*?)-->][]s) > { > print STDERR "read_dict: comment '$1' found\n" if $Debug > 1; > }
Hope it could help to improve this module. Regards -- Sebastien Thebert
application/octet-stream 38.7k

Message body not shown because it is not plain text.

text/x-perl 18.2k

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 141b
This should be fixed in 1.32_01, which is on its way to CPAN. Instead of fixing the one case you noticed, I fixed it to ignore all comments.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to