AE-AdHoc
    
    
  
  
  
view release on metacpan or search on metacpan
t/12-nested-dies.t view on Meta::CPAN
#!/usr/bin/perl -w
use strict;
use Test::More;
use Test::Exception;
use AE::AdHoc;
$AE::AdHoc::warnings = 0;
plan tests => 1;
throws_ok {
	ae_recv {
		ae_recv {
		} 1;
	} 2;
} qr(nested)i, "Nested calls not allowed";
    
  
  
  
( run in 0.398 second using v1.01-cache-2.11-cpan-0a6323c29d9 )