Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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??


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?
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-09-22 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (206 votes), past polls