Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Persistent variables

by snoopy (Deacon)
on Aug 22, 2007 at 05:55 UTC ( #634252=note: print w/replies, xml ) Need Help??


in reply to Persistent variables

Btw, tilly's Tie::Static does what you want:
use Tie::Static qw(static); sub persist { static \ (my $var); ++$var; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634252]
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: (6)
As of 2016-08-31 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (426 votes). Check out past polls.