Christopher == Christopher Faylor [EMAIL PROTECTED] writes:
Christopher perl -e 'print $^S || 0, \n;eval {print $^S || 0, \n}; print $^S
|| 0, \n;'
Christopher This should print:
Christopher 0
Christopher 1
Christopher 0
Christopher Instead, it prints:
Volker == Volker Zell Dr. writes:
Christopher == Christopher Faylor [EMAIL PROTECTED] writes:
Christopher perl -e 'print $^S || 0, \n;eval {print $^S || 0, \n}; print $^S
|| 0, \n;'
Christopher This should print:
Christopher 0
Christopher 1
Christopher 0
Christopher
-To: [EMAIL PROTECTED]
To: Rhet Turnbull [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: Re: bug in Cygwin perl 5.6.1?
Date: Sun, 3 Feb 2002 22:03:36 +0100
Am 2 Feb 2002 um 17:58 hat Rhet Turnbull geschrieben:
Gerrit P. Haase wrote:
Why? Where is docu about this?
The perl
Hallo Rhet,
04.02.2002, 16:09, es wurde gemailt:
Gerrit P. Haase wrote:
Hmmm, I'm still confused a little. Isn't '010' as TRUE as '011'?
[detailed analysis]
Hope that helps. Regards,
Yes, now I see;) Thank you very much for the detailed explanation.
--
Gerrit
--
Unsubscribe info:
Am 2 Feb 2002 um 17:58 hat Rhet Turnbull geschrieben:
Gerrit P. Haase wrote:
Why? Where is docu about this?
The perl documentation for $^S in the perlvar manpage states:
$^S Current state of the interpreter. Undefined if
parsing of the current module/eval is not finished
On Sun, Feb 03, 2002 at 10:03:36PM +0100, Gerrit P. Haase wrote:
Am 2 Feb 2002 um 17:58 hat Rhet Turnbull geschrieben:
Gerrit P. Haase wrote:
Why? Where is docu about this?
The perl documentation for $^S in the perlvar manpage states:
$^S Current state of the interpreter. Undefined if
Am 31 Jan 2002 um 9:21 hat Rhet Turnbull geschrieben:
There seems to be a bug in Cygwin's perl (5.6.1). The
following code:
perl -e 'print $^S || 0;eval {print $^S || 0}; print
$^S || 0;'
should produce '010'
Why? Where is docu about this?
Thanks
Gerrit
However, on Cygwin perl 5.6.1, it
- Original Message -
From: Gerrit P. Haase [EMAIL PROTECTED]
To: Rhet Turnbull [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, February 02, 2002 5:30 PM
Subject: Re: bug in Cygwin perl 5.6.1?
Am 31 Jan 2002 um 9:21 hat Rhet Turnbull geschrieben:
There seems
There seems to be a bug in Cygwin's perl (5.6.1). The
following code:
perl -e 'print $^S || 0;eval {print $^S || 0}; print
$^S || 0;'
should produce '010'
However, on Cygwin perl 5.6.1, it produces 011. This
means that perl incorrectly thinks it's in an eval
block when it's not. I've checked
FYI, I reported the perl bug mentioned on the Cygwin mailing list earlier
today to perlbug and they've reported back that it is a known bug and that
it'll be fixed in the next version (5.6.2). Regards,
Rhet
Original Message Follows
From: Mike Guy
Reply-To:
To: [EMAIL
10 matches
Mail list logo