Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: 'state' variables and unit testing

by Jenda (Abbot)
on Feb 02, 2014 at 02:06 UTC ( #1073015=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { my $_cached;
     sub whatever {
       $_cached //= ...
     }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2016-06-25 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.