develooper Front page | perl.perl5.porters | Postings from October 2004

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

Thread Previous | Thread Next
From:
Austin Schutz
Date:
October 19, 2004 17:13
Subject:
Re: [perl #32032] defined may incorrectly returns true in 5.8.X
Message ID:
20041019170625.GC17425@gblx.net
> > 
> > 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

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