Syntactic Confectionery Delight | |
PerlMonks |
Re: A short whishlist of Perl5 improvements leaping to Perl7by LanX (Saint) |
on Nov 24, 2020 at 12:40 UTC ( [id://11124131]=note: print w/replies, xml ) | Need Help?? |
If you want to mimic Pythons behavior of auto-declaration, you'd also need to introduce something like the command nonlocal to mark closed over variables. Py3 had to introduce it, and I find it ugly.
Cheers Rolf
In Section
Meditations
|
|