in reply to Re: How will you use state declared variables in Perl6?in thread How will you use state declared variables in Perl6?
foo(); { my $foo = 42; sub foo { print "Foo: $foo" } } [download]