Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl
    ...
    
    throws_ok { main( 'bad command' ) } qr/Unknown command 'bad command'/,
            '... or with a bad command given';
    
  2. or download this
    ./test_myScript.t
    1..5
    ...
    parameter `files' not set
    parameter `output' not set
    # Looks like you planned 5 tests but only ran 1.