[Catalyst] HTML::FillInForm (1.06) - a bug?

Tatsuhiko Miyagawa miyagawa at gmail.com
Wed Sep 27 16:33:01 CEST 2006


Yeah, this looks like a bug and here's a patch to fix it.

=== lib/HTML/FillInForm.pm
==================================================================
--- lib/HTML/FillInForm.pm      (revision 5460)
+++ lib/HTML/FillInForm.pm      (local)
@@ -89,6 +89,8 @@
       $self->parse($_);
     }
   }
+
+  $self->eof;
   return delete $self->{output};
 }



On 9/27/06, Chisel Wright <chisel at herlpacker.co.uk> wrote:
> Does anyone know if TJ Mather is still alive/maintaining this module?
> I'm fairly sure it's a bug, but it's been a couple of weeks with no
> reply.
>
> Chisel
>
> ---- forwarded message ----
> Hi there,
>
> I've attached a small test-script for what I believe is a bug in the
> HTML::FillInForm module.
>
> It seems that if the module is passed a scalarref of plain text (i.e. no
> HTML markup), it chops off the last work in the string.
>
> I don't think this should happen, but you may disagree,
> ---- forwarded message ----
> --
> Chisel Wright
> e: chisel at herlpacker.co.uk
> w: http://www.herlpacker.co.uk/
>
> This is not an automated signature. I type this in to the bottom of every
> message.
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
>


-- 
Tatsuhiko Miyagawa



More information about the Catalyst mailing list