16fb12b70Safresh1#! /usr/local/perl -w 26fb12b70Safresh1# Before `make install' is performed this script should be runnable with 36fb12b70Safresh1# `make test'. After `make install' it should work as `perl test.pl' 46fb12b70Safresh1 56fb12b70Safresh1######################### 66fb12b70Safresh1 76fb12b70Safresh1use Test::More tests => 1; 86fb12b70Safresh1 96fb12b70Safresh1BEGIN { 106fb12b70Safresh1 $SIG{__DIE__} = sub { 116fb12b70Safresh1 warn @_; 126fb12b70Safresh1 BAIL_OUT( q[Couldn't use module; can't continue.] ); 136fb12b70Safresh1 }; 146fb12b70Safresh1} 156fb12b70Safresh1 166fb12b70Safresh1BEGIN { 17*3d61058aSafresh1 use version 0.9930; 186fb12b70Safresh1} 196fb12b70Safresh1 206fb12b70Safresh1pass "Didn't get caught by the wrong DIE handler, which is a good thing"; 21