Skip Menu |

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

Report information
The Basics
Id: 122623
Status: new
Priority: 0/
Queue: Data-PropertyList

People
Owner: Nobody in particular
Requestors: cpan [...] mohag.net
Cc:
AdminCc:

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



Subject: Fails to parse a simple dictionary ASCII plist
This may / may not be related to a much newer Perl version... (5.22) (Things get more complicated with ASCII plists containing nested structures) Test script: --------------- use Data::PropertyList qw(fromtext); use Data::Dumper; use strict; my $str = '{ Key = ""; Key2 = Value; }'; print "$str\n"; my $plist = fromtext($str); print Dumper($plist)."\n"; --------------- Output: ---------- { Key = ""; Key2 = Value; } PropertyList error, = not found at line 1 PropertyList error, value not found in '' - ; at line 1 PropertyList error, = not found at line 4 PropertyList error, value not found in '' - ; at line 4 $VAR1 = { 'Key2' => 'Value', 'Key' => '', '}' => 1, '{' => 1 }; ---------- Expected output: ---------- { Key = ""; Key2 = Value; } $VAR1 = { 'Key2' => 'Value', 'Key' => '' }; ----------