Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: My number 1 tip for developers.

by adrianh (Chancellor)
on Sep 12, 2003 at 07:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://290948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 02:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found