##
$("" = 'stringify'
$(0+ = 'value'
$Debug = 1
$VERSION = 0.15
$Depth = 0
$() = 1
%OVERLOAD = (
'dummy' => 1
)
####
try {
eval {
die "foobar";
};
if ($@) {
throw Error::Bad($@);
}
}
catch Error::Bad with {
my $err = shift;
print "Failed: $err\n";
exit;
}
print "ok";
####
okCan't use string ("1") as a HASH ref while "strict refs" in use at Error.pm line 183.