The impending advent of perl5.10 is leading me to think about what I'd like to see in a perl5.12.
Off the top of my head:
- Nested statement modifiers (e.g. EXPR1 if EXPR2 for LIST instead of EXPR2 and EXPR1 for LIST)
- Method names given as expressions ($foo->do{ EXPR }(LIST) instead of my $tmp=EXPR; $foo->$tmp(LIST) or $foo->${\(EXPR)}(LIST))
- Attributes on packages (allowing e.g. package Foo:extends("Bar"))
Back to
Meditations