http://www.perlmonks.org?node_id=473589


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

That's correct--state variables clone. I see a lot of needless handwringing here based on the faulty assumption that Perl's state variables are just like C's static variables. There's a reason we gave them a different name...
  • Comment on Re^5: How will you use state declared variables in Perl6?

Replies are listed 'Best First'.
Re^6: How will you use state declared variables in Perl6?
by Limbic~Region (Chancellor) on Jul 08, 2005 at 22:34 UTC
    TimToady,
    The intent of the meditation was to get people thinking about state variables and how they will be useful. I believe that isn't being undermined here even with my bad choice of explanation. Thank you for participating and setting the record straight. The discussion may be better off by starting on the wrong foot because it gets the misconceptions out of the way with the authorative corrections all in one place.

    Cheers - L~R