Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by BUU (Prior)
on Jul 09, 2005 at 02:47 UTC ( #473634=note: print w/ replies, xml ) Need Help??


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

You say "maybe not a big win", but what about something like:

foo(); { my $foo = 42; sub foo { print "Foo: $foo" } }
Which I've done all too often.


Comment on Re^2: 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://473634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2015-07-29 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (266 votes), past polls