Help for this page

Select Code to Download


  1. or download this
    package MyModule;
    
    ...
    1;
    
    __END__
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    # now test "add" works as expected
    cmp_ok(MyModule::add(1, 1), '==', 2, '... 1 added to 1 is 2');
    
  3. or download this
    prove test.t
    
  4. or download this
    test....ok                                                            
    +       
    All tests successful.
    Files=1, Tests=3,  0 wallclock secs ( 0.15 cusr +  0.05 csys =  0.20 C
    +PU)