Skip to content

Commit

Permalink
Run all the benchmarks we can
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Apr 12, 2009
1 parent e193237 commit 5993073
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions bench.pl
Expand Up @@ -17,7 +17,6 @@ BEGIN



use Exception::Base 'Exception::My';
our %tests = (
'01_EvalDieScalar' => sub {

Expand All @@ -43,8 +42,9 @@ BEGIN
},
);

=for comment

eval {
eval q{use Exception::Base 'Exception::My'};
$tests{ '03_ExceptionEval' } = sub {

eval {
Expand All @@ -71,7 +71,7 @@ BEGIN
};

};
);
};

eval q{
die 1;
Expand Down Expand Up @@ -100,7 +100,6 @@ BEGIN
};

eval {
die 1;
package My::ClassThrowable;
require Class::Throwable;
Class::Throwable->import;
Expand All @@ -121,7 +120,6 @@ BEGIN
};

eval {
die 1;
package My::ExceptionClass;
require Exception::Class;
Exception::Class->import('MyException');
Expand All @@ -140,7 +138,6 @@ BEGIN
};

eval q{
die 1;
package My::ExceptionClassTC;
BEGIN {
eval {
Expand All @@ -166,7 +163,6 @@ BEGIN
};
};

=cut

{
package My::TryCatch;
Expand Down

0 comments on commit 5993073

Please sign in to comment.