in reply to Isn't Perl5 ready for C<my sub>?
The perl5 parser has had a placeholder for lexical subs for quite a while:
The main things holding them up has been trying to agree their semantics, then someone - probably me - finding the time to implement them :-(.
and a pad can quite happily accomodate them.$ perl -we 'my sub foo {}' "my sub" not yet implemented at -e line 1. $
The main things holding them up has been trying to agree their semantics, then someone - probably me - finding the time to implement them :-(.
Dave.
In Section
Seekers of Perl Wisdom