[html-formfu] Bug?

Octavian Rasnita orasnita at gmail.com
Fri Jun 25 12:15:26 GMT 2010


Thanks for telling me about that script. I didn't know about it.

I have tested a config file that has a single <constraints>...</constraints> 
and the results printed was a hashref like:

constraints => {
type => 'Required',
},

but if I added 2 constraints, the result was an arrayref:

constraints => [
{
type => 'Required',
},
{
type => 'Word',
},
],

So I don't know what it should be, a hashref, or an arrayref that contains 
more hashrefs.

Or maybe it works with both of them, but I don't know then why it gives that 
error when it is not a hashref.

Thanks.

--
Octavian

----- Original Message ----- 
From: "Carl Franks" <fireartist at gmail.com>
To: "HTML Form Creation,Rendering and Validation Framework" 
<html-formfu at lists.scsys.co.uk>
Sent: Friday, June 25, 2010 12:23 PM
Subject: Re: [html-formfu] Bug?


> btw, a good way to help narrow down config problems is to use the
> html_formfu_dumpconf.pl script that is installed by HTML-FormFu
>
> $ html_formfu_dumpconf.pl ./config-file.conf
>
> This uses Data::Dumper to allow you to check if the config file is
> parsed as you're expecting.
>
> Carl
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature database 5227 (20100624) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> 


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5228 (20100625) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






More information about the HTML-FormFu mailing list