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
James E Keenan via RT
May 26, 2012 18:52
[perl #32032] defined may incorrectly returns true in 5.8.X
Message ID:
On Tue Oct 19 17:21:50 2004, 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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About