Help for this page

Select Code to Download


  1. or download this
    use ExtUtils::MakeMaker 6.64;
    WriteMakefile(
    ...
            'Test::Exception' => 0,
        },
    );
    
  2. or download this
    $ corelist "/Test::Exception/"
    /Test::Exception/  has no match in CORE (or so I think)
    
  3. or download this
    use Test::More;
    use Test::Fatal 'exception';
    like exception {
       die "Blam";
    }, qr/\bBlam\b/, 'exception is as expected';