PING bricas Re: [html-formfu] Config with Config::Any::XML

Brian Cassidy brian.cassidy at gmail.com
Mon Nov 16 13:10:25 GMT 2009


> 2009/11/16 David Schmidt <davewood at gmx.at>:
>
> # perl -MHTML::FormFu -e "print HTML::FormFu->new->load_config_file('form.xml')"
> Error parsing ./form.xml: Not a HASH reference at
> /usr/local/share/perl/5.10.0/Config/Any/XML.pm line 67.
>  at /usr/local/share/perl/5.10.0/HTML/FormFu/ObjectUtil.pm line 502

Turns out the XML loader was assuming everything it got back was a
hashref. Obviously, in this case, it was not.

I've added a test for this, and shipped 0.18 to CPAN -- arriving at a
mirror near you shortly.

Please test it and let me know the results.

Cheers,

-- 
Brian Cassidy (brian.cassidy at gmail.com)



More information about the HTML-FormFu mailing list