Your message dated Wed, 27 Jan 2010 12:56:34 +0200
with message-id <[email protected]>
and subject line Re: Bug#350377: weird use warnings/@- interaction
has caused the Debian Bug report #350377,
regarding weird use warnings/@- interaction
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
350377: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350377
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: perl-base
Version: 5.8.7-10
Severity: normal

Something weird seems to be going on with use warnings and the @-
variable:

[...@iasoon]~> perl -e 'use strict; use warnings; "foo" =~ /o/g; print scalar 
@-, "\n"'
3
[...@iasoon]~> perl -e 'use strict; "foo" =~ /o/g; print scalar @-, "\n"'
1

The two values output should of course be the same.

The weird thing is that I can't reproduce this on my other machine,
which has the same perl version.  The issue was also raised in
comp.lang.perl.misc [1].  Also, on #debian-devel some people could
reproduce it, while others couldn't.

[1] 
http://groups.google.com/group/comp.lang.perl.misc/browse_thread/thread/4a18a4c32944ce53


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages perl-base depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an

perl-base recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 5.10.0-1

On Sun, Jan 29, 2006 at 12:02:59PM +0100, Bas Zoetekouw wrote:
> Package: perl-base
> Version: 5.8.7-10
> Severity: normal
> 
> Something weird seems to be going on with use warnings and the @-
> variable:
> 
> [...@iasoon]~> perl -e 'use strict; use warnings; "foo" =~ /o/g; print scalar 
> @-, "\n"'
> 3
> [...@iasoon]~> perl -e 'use strict; "foo" =~ /o/g; print scalar @-, "\n"'
> 1

This was [perl #38363], which was fixed with

 
http://perl5.git.perl.org/perl.git/commit/38d1b06f95ebaf0e4dc96d48047c7c7648c3ba3f
 

so closing at 5.10.0.
-- 
Niko Tyni   [email protected]


--- End Message ---

Reply via email to