in reply to what would you like to see in perl5.12?
Nested statement modifiers (e.g. EXPR1 if EXPR2 for LIST instead of EXPR2 and EXPR1 for LIST)
That is not going to happen: the idea was firmly rejected by $Larry when it was suggested for Perl 6. Although occasionally I've cherished the idea, it's "kinda too much" for me too.
Method names given as expressions ($foo->do{ EXPR }(LIST) instead of my $tmp=EXPR; $foo->$tmp(LIST) or $foo->${\(EXPR)}(LIST))
While I desired that too, but I can't think of a syntax that would be unambiguous:
Attributes on packages (allowing e.g. package Foo:extends("Bar"))
Well, this would be cool. Wait! I still have to learn how to use attributes on subs... Oh well!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: what would you like to see in perl5.12?
by ysth (Canon) on Aug 20, 2007 at 20:52 UTC | |
by blazar (Canon) on Aug 20, 2007 at 22:02 UTC | |
by ysth (Canon) on Aug 21, 2007 at 01:00 UTC | |
by blazar (Canon) on Aug 21, 2007 at 10:54 UTC |