Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 3;
    ok(1, "Before");
    ...
    
    exits_ok( sub {f()}, -2, "exits");
    ok(1, "After");
    
  2. or download this
    package M;
    use strict;
    ...
    
    
    1;
    
  3. or download this
    package TE;
    use strict;
    ...
    }
    
    1;