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

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

Thread Previous | Thread Next
From:
Jesse Luehrs
Date:
May 31, 2012 15:15
Subject:
Re: [perl #32032] defined may incorrectly returns true in 5.8.X
Message ID:
20120531221534.GG4502@tozt.net
On Sat, May 26, 2012 at 06:52:22PM -0700, James E Keenan via RT wrote:
> 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

The changes in IO::Tty 1.03 look possibly relevant here.

-doy

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