in reply to Re^8: How will you use state declared variables in Perl6?
in thread How will you use state declared variables in Perl6?

It'll do. I probably wouldn't call them closures, but say rather that they participate in a closure, insofar as a particular closure might capture multiple variables simultaneously. And I wouldn't define them that way to someone who isn't ready to understand closures. "Persistent lexicals" works better for that bunch. But either view is a lot better than thinking of them as globals.
  • Comment on Re^9: How will you use state declared variables in Perl6?