Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    }
    
    open(my $fh, '<', \my $buf) or die("open: $!\n");
    
  2. or download this
    open: Broken pipe
    
  3. or download this
    package ModuleToTest;
    
    ...
    }
    
    1;
    
  4. or download this
    use Test::More tests => 1;
    
    ...
    use Module;
    
    ok( !eval { Module->f(); 1 } );
    
  5. or download this
    1..1
    ok 1