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

regarding defined_test and exists_test contexts

Thread Previous
From:
david nicol
Date:
October 16, 2003 20:30
Subject:
regarding defined_test and exists_test contexts
Message ID:
1066361388.1007.57.camel@plaza.davidnicol.com
On Mon, 2003-10-13 at 07:46, Rafael Garcia-Suarez wrote:

> Extending the defined() and exists() syntax
>   Roy Johnson posted some insteresting ideas about possible extensions to
>   defined() and exists().
> 
>       http://xrl.us/wu2


I have long thought that the compiler might recognize 

	if(defined(...))

as a special case and use a different truth standard for evaluation
of ... rather than invoking the defined layer, and that would be
a wee bit faster.  Someone would have to code it though, which would
be difficult.  Same goes for exists.




-- 
david nicol /
"Once you start thinking more about where you want to be
than about making the best product, you're screwed." --Torvalds


Thread Previous


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