in reply to Re^4: Experimental features: autoderef vs postfix deref
in thread Experimental features: autoderef vs postfix deref
It is. But only for:
{ my $state_var; sub foo { ...; } }
But not for:
{ my $state_var; sub foo { ...; } sub bar { ...; } }
Which is a perfectly valid and common use of closures.
Thus it only deals with half the requirement. And so, (IMO), it is flawed.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Experimental features: autoderef vs postfix deref
by RonW (Parson) on Jul 13, 2015 at 19:53 UTC | |
by BrowserUk (Patriarch) on Jul 13, 2015 at 20:05 UTC | |
by RonW (Parson) on Jul 13, 2015 at 20:34 UTC | |
by golux (Chaplain) on Jul 14, 2015 at 18:01 UTC |