develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #32032] defined may incorrectly returns true in 5.8.X

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
May 26, 2012 18:52
Subject:
[perl #32032] defined may incorrectly returns true in 5.8.X
Message ID:
rt-3.6.HEAD-7788-1338083541-838.32032-15-0@perl.org
On Tue Oct 19 17:21:50 2004, tex@off.org wrote:
> > > 
> > > If TIOSCTTY isn't a constant sub it is a bareword i.e. a string.
> > 
> > 	It is a constant sub.
> > 
> 
> 	Err, sorry, no coffee yet.  I don't think it's a constant sub, it's
> set to &PL_sv_undef, which I guess would be an undef scalar.
> 	That still doesn't explain why the debugger admits to it not being
> defined but it still following the branch anyway.
> 
> 	Austin
> 

Discussion in this RT petered out nearly eight years ago, and ni-s has
passed away.  Is there anyone familiar with IO::Tty who could review
this ticket and see whether we have a bug in Perl's defined built-in, a
bug in that module, or some combination thereof?

Thank you very much.
Jim Keenan




---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=32032

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About