Package: perl-base Version: 5.8.7-10 Severity: normal Something weird seems to be going on with use warnings and the @- variable:
[EMAIL PROTECTED]> perl -e 'use strict; use warnings; "foo" =~ /o/g; print scalar @-, "\n"' 3 [EMAIL PROTECTED]> 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]