Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How will you use state declared variables in Perl6?

by mirod (Canon)
on Jul 08, 2005 at 20:44 UTC ( #473563=note: print w/ replies, xml ) Need Help??


in reply to How will you use state declared variables in Perl6?

As you described: every time I have something similar to this in Perl 5, and that's quite often:

{ my $var; BEGIN { $var= 'init_val'; } sub foo { ... ... $var ... ... } }


Comment on Re: How will you use state declared variables in Perl6?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-09-16 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (53 votes), past polls