Skip to content

Commit

Permalink
Fix undefined value warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tsee committed Jan 15, 2012
1 parent cdc174b commit f2e5b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Benchmark/Dumb.pm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ sub timethese {
sub cmpthese {
my $count = shift;
my $codehashref = shift;
my $style = shift; # ignored unless 'none'
my $style = shift || ''; # ignored unless 'none'

my $results;
if (ref($count)) {
Expand Down

0 comments on commit f2e5b47

Please sign in to comment.