Can someone from the Mason development team take a look at this bug
which was reported in Debian? The attached Perl script can be used for
the demonstration.

thanks,
Charles

---------- Forwarded message ----------
From: Frédéric Brière <[EMAIL PROTECTED]>
Date: Tue, Aug 7, 2007 at 5:35 PM
Subject: Bug#436507: libhtml-mason-perl: autoflush breaks store modifier
To: Debian Bug Tracking System <[EMAIL PROTECTED]>


Package: libhtml-mason-perl
Version: 1:1.35-3
Severity: normal

Starting from some point between sarge (1.26) and etch (1.35), setting
autoflush breaks the ability to store the output of a component to a
variable.  The attached script demonstrates this issue.

On sarge:

 $ perl -MHTML::Mason -le 'print $HTML::Mason::VERSION'
 1.26
 $ perl /autoflush_store.pl
 Hello, World!
 Hello, World!

On etch (and sid):

 $ perl -MHTML::Mason -le 'print $HTML::Mason::VERSION'
 1.35
 $ perl /autoflush_store.pl
 Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34, <DATA>
chunk 1.
 Hello, World!
 WorldHello, !


-- System Information:
Debian Release: lenny/sid
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Attachment: autoflush_store.pl
Description: Perl program

Reply via email to