Received: (at submit) by bugs.debian.org; 22 May 2001 22:09:56 +0000 From chip@tytlal.engr.valinux.com Tue May 22 17:09:56 2001 Return-path: Received: from nat-hdqt.valinux.com (tytlal) [198.186.202.17] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 152KLj-0002Qh-00; Tue, 22 May 2001 17:09:56 -0500 Received: from chip by tytlal with local (Exim 3.22 #1 (Debian)) id 152KKv-0003ft-00; Tue, 22 May 2001 15:09:05 -0700 From: chip@debian.org Subject: perl: Can't C at end of lvalue sub To: submit@bugs.debian.org X-Mailer: bug 3.3.9 Message-Id: Sender: Chip Salzenberg Date: Tue, 22 May 2001 15:09:05 -0700 Delivered-To: submit@bugs.debian.org Package: perl Version: 5.6.1-1 Severity: normal Perl 5.6.1 broke libterm-stool-perl_0.25. In Stool, an lvalue AUTOLOAD ends with a C, where &$AUTOLOAD is defined at runtime as an anonymous lvalue sub. So, at runtime, it would be fine. But Perl 5.6.1 croaks at compile time, saying that the 'goto' isn't modifiable and is therefore illegal as the last thing in an lvalue sub. This new compile-time error is wrong because it's overly strict. -- System Information Debian Release: testing/unstable Kernel Version: Linux tytlal 2.2.18pre11-va2.8a #2 Mon May 21 19:28:46 PDT 2001 i686 unknown Versions of the packages perl depends on: ii libc6 2.2.3-1 GNU C Library: Shared libraries and Timezone ii libdb2 2.7.7-8 The Berkeley database routines (run-time fil ii libgdbmg1 1.7.3-27 GNU dbm database routines (runtime version). ii perl-base 5.6.1-1 The Pathologically Eclectic Rubbish Lister. ii perl-modules 5.6.1-1 Core Perl modules.