[html-formfu] Re: Patch: Catalyst::Controller::HTML::FormFu,
Modification of a read-only value attempted at line 178
Oskari 'Okko' Ojala
okko+formfu at frantic.com
Wed Jan 13 12:04:34 GMT 2010
Anyone had a look in this patch?
On Mon, 4 Jan 2010, Oskari 'Okko' Ojala wrote:
> The attached patch is against r1657 of
> http://html-formfu.googlecode.com/svn/trunk/Catalyst-Controller-HTML-FormFu/lib/Catalyst/Controller/HTML/FormFu.pm
>
> to fix fatal error message
>
> "Modification of a read-only value attempted at
> ..../perl5/lib/perl5/Catalyst/Controller/HTML/FormFu.pm line 178."
>
>
> Unfortunately I don't know what is the exact chain that causes a read-only
> value to arrive there, but I'm using the most recent FormFu inside Catalyst.
> If you eval
>
> for ("foo") { s/foo/bar/; print }
>
> you can probably see a simplified case of what happens there without the
> patch. I hope you accept the patch without a list of detailed steps to
> reproduce the bug. ;-)
--
Oskari "Okko" Ojala
More information about the HTML-FormFu
mailing list