|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^5: How will you use state declared variables in Perl6?by TimToady (Parson) |
| on Jul 08, 2005 at 22:27 UTC ( #473589=note: print w/ replies, xml ) | Need Help?? |
|
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...
In Section
Meditations
|
|
||||||||||||||||||||||