Subject: | Can't use an undefined value as an ARRAY reference at CSS/DOM/Style.pm line 305 |
When parsing ext-3.1.1/resources/css/ext-all.css from
http://extjs.cachefly.net/ext-3.1.1.zip, the parsing eventually dies
with:
Can't use an undefined value as an ARRAY reference at
/usr/lib/perl5/vendor_perl/5.10.0/CSS/DOM/Style.pm line 305, <STDIN> line
1.
Simple parsing code I used (after reading in the above file to $css):
my $sheet = CSS::DOM::parse($css, property_parser =>
$CSS::DOM::PropertyParser::Default);