Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

'state' variables and unit testing

by vsespb (Chaplain)
on Feb 01, 2014 at 17:43 UTC ( [id://1072981]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    Heavy calculations
    42
    42
    
  2. or download this
    use strict;
    use warnings;
    ...
    Heavy calculations
    42
    42
    
  3. or download this
    {
      local $_cached = undef;
    ...
      local @ARGV = (5);
      say somefunc();
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1072981]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-10 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found