Help for this page

Select Code to Download


  1. or download this
    package Test::Exit;
    use strict;
    ...
     }, 2, 'expect exit(2)';
    
    =cut
    
  2. or download this
    use strict;
    use warnings;
    ...
        exit 2;
    } 2, 'exit code = 2';