This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in Cygwin perl 5.6.1?


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 produces 011.  This
>means that perl incorrectly thinks it's in an eval
>block when it's not.  I've checked this on perl v5.6.1
>for other platforms (including Win32) and it seems to
>work fine.
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]