Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: How to test exit? - wrote a quick Test::Exit module

by imp (Priest)
on Jun 05, 2007 at 20:16 UTC ( #619494=note: print w/replies, xml ) Need Help??

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';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://619494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-12-01 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?