Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2018-06-17 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (107 votes). Check out past polls.

    Notices?