Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 32451 invoked by uid 500); 1 Feb 2003 22:28:42 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Delivered-To: moderator for embperl@perl.apache.org Received: (qmail 85186 invoked from network); 28 Jan 2003 19:37:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15926.56315.243934.644975@paracel.com> Date: Tue, 28 Jan 2003 11:37:31 -0800 To: embperl@perl.apache.org Subject: second $escmode setting is ignored X-Mailer: VM 7.07 under Emacs 21.2.1 From: David Hull X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N There seems to be a bug in Embperl 2.0b8 where the second and subsequent attempts to set $escmode without any normal intervening output are ignored. Here's an example of the problem. The following code: [! sub hello () { local $escmode = 0; print OUT "hello
\n"; } !] [- hello(); -] [- hello(); -]

reset
[- hello(); -] [- hello(); -]

reset
[- hello(); hello(); -] Produces the output: hello
<b>hello</b><br>

reset
hello
<b>hello</b><br>

reset
hello
<b>hello</b><br> -- David Hull --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org