10 This tests a bug which is fixed in 0.22 by localizing all the $@'s around any
13 This a real pain to track down.
17 ALWAYS localize your globals :)
29 return bless {} => $class;
33 die "This didnt work";
39 my $method ( $self->meta->find_all_methods_by_name('DEMOLISH') ) {
40 $method->{code}->($self);
46 my $c = Company->new();
49 ok( $@, '... we die correctly with bad args' );