[html-formfu] H:F:M:DBIC condition_from_stash

Ronald J Kimball rkimball at pangeamedia.com
Tue Jan 11 15:39:00 GMT 2011


On Tue, Jan 11, 2011 at 8:21 AM, Gabor HALASZ <halasz.g at freemail.hu> wrote:

>
> I think, simply on wrong place and checks wrong variable, the correct is:
>
> for my $name ( keys %$from_stash ) {
>
>    croak "config value must not be a reference" if ref $name;
>
>
Checking whether $name is a reference wouldn't make sense.  It's a hash key,
so we already know it's a string.

Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20110111/0d=
19ff99/attachment.htm


More information about the HTML-FormFu mailing list