develooper Front page | perl.perl6.language | Postings from March 2005

Re: nothing

Thread Previous | Thread Next
From:
Juerd
Date:
March 21, 2005 12:42
Subject:
Re: nothing
Message ID:
20050321204204.GK29322@c4.convolution.nl
Rod Adams skribis 2005-03-21 14:25 (-0600):
>   if $expr {
>     nothing;
>   }
> is harder to get confused over, IMO

Except writing something when you mean nothing is kind of weird. It
makes sense in rules because it doesn't usually make sense to match
nothingness, but for blocks, I'd hate to see { } be invalid or meaning
anything other than the proposed nothing.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

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