Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 avoiding work at the Monastery: (7)
As of 2014-12-29 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls