As you described: every time I have something similar to this in Perl 5, and that's quite often:
{ my $var; BEGIN { $var= 'init_val'; } sub foo { ... ... $var ... ... } }
In reply to Re: How will you use state declared variables in Perl6?
by mirod
in thread How will you use state declared variables in Perl6?
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |