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

Re: nothing

Thread Previous | Thread Next
March 21, 2005 12:42
Re: nothing
Message ID:
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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About