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

Re: [perl #108286] continue, else and elsif (Wishlist: Overridablekeywords)

Thread Previous | Thread Next
From:
Jesse Luehrs
Date:
May 15, 2012 12:08
Subject:
Re: [perl #108286] continue, else and elsif (Wishlist: Overridablekeywords)
Message ID:
20120515190846.GC4502@tozt.net
On Tue, May 15, 2012 at 03:03:01PM -0400, Eric Brine wrote:
> On Tue, May 15, 2012 at 12:55 PM, Jesse Luehrs <doy@tozt.net> wrote:
> 
> > I don't think else should be overridable.
> 
> 
> Everything you say about "if-else" also applies to "try-catch". Should it
> be impossible to override "catch"?

Nothing about this is making it impossible to override anything. You
just do so by overriding 'if' instead of 'else' (or 'try' instead of
'catch', in this case).

-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