Help for this page
foreach my $callback (@callbacks) { (ref($callback) eq "CODE") || die "$callback is not a code ref"; ... die "callback did something funky to args"; } }