Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473589]
help
Chatterbox?
[holli]: "die Kleine" is a (somewhat diminishing) term for woman :) also someone at stock overflow seems to think i'm female
[Discipulus]: holli orange is gold in the morning, silver in afternoon and lead in the nigth..
[Discipulus]: banana too better not in the night
[holli]: it actually feels more like a lead-acid battery ^^
[Discipulus]: erix are you now travelling in space? iirc you were in low countries
choroba had 4 beers (or was it 5?) yesterday, plus a pickled cheese
[choroba]: megalag :-(
[erix]: ok, I looked it up, should have been: "Haribo macht Kinder froh und Erwachsene ebenso"
[Discipulus]: also mixing pizza (fermented/levited ) with juices is not so good

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-11-22 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (316 votes). Check out past polls.

    Notices?