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

Re: proposal on defined and exists

Thread Previous | Thread Next
From:
Jesse Luehrs
Date:
February 16, 2012 13:12
Subject:
Re: proposal on defined and exists
Message ID:
20120216211243.GQ17147@tozt.net
On Thu, Feb 16, 2012 at 09:04:30PM +0000, Zefram wrote:
> Reini Urban wrote:
> >I think we should adopt `exists` for checking existance of global, lexical and
> >local symbols
> 
> A not entirely ridiculous idea.  It fits reasonably well with the existing
> meaning on hash elements.  But there are difficulties with the concept.
> 
> <snip>

I agree with everything Zefram said here. I think there is a good idea
in here somewhere, it just needs some work to make sure it's consistent
with the rest of the language.

-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