in reply to Re^3: Experimental features: autoderef vs postfix deref
in thread Experimental features: autoderef vs postfix deref
My understanding of the description of state is as a short cut for:
{ my $state_var; sub foo { ...; } }
For that purpose, state works just fine.
I'm sorry, but I would not have expected your example to work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Experimental features: autoderef vs postfix deref
by BrowserUk (Patriarch) on Jul 13, 2015 at 18:14 UTC | |
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 |