Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: My number 1 tip for developers.

by adrianh (Chancellor)
on Sep 12, 2003 at 07:21 UTC ( #290948=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     package main;
     use strict;
    ...
     my $doit = doit->new();
     my @data = 1..10;
     print $doit->enumerate( \@data );
    
  2. or download this
    package main; 
    use strict; 
    ...
    isa_ok my $doit = doit->new(), 'doit';
    my @data = 1..10; 
    is_deeply [$doit->enumerate( \@data )], [1..10], 'enumerate works';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-07-12 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls