On 20 Jun 2009, at 15:32, Jesse Sheidlower wrote:


I'm having a hell of a time trying to track down the reasons
for this error.

I'm getting an error that looks like:

Use of uninitialized value $buffer in concatenation (.) or
string at /usr/share/perl5/Catalyst/Engine/CGI.pm line 220.

For the benefit of the list, this is now fixed.

http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=10745
http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=10746

Merlyn was exactly right, write was being called with undef, due to FillInForm setting the response body to undef.

New release of FillInForm will follow shortly, and this will be fixed in the general case in the next Catalyst.

What are people's thoughts about adding a specific warning if you try to write undef? (As you could still cause this warning by doing that explicitly)

Cheers
t0m


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to