[html-formfu] Patch: Catalyst::Controller::HTML::FormFu,
Modification of a read-only value attempted at line 178
Oskari 'Okko' Ojala
okko+formfu at frantic.com
Mon Jan 4 13:57:15 GMT 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catalyst_Controller_HTML_FormFu.pm.patch
Type: text/x-diff
Size: 881 bytes
Desc:
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20100104/e06f934c/Catalyst_Controller_HTML_FormFu.pm.bin
More information about the HTML-FormFu
mailing list