Permalink
Browse files

Always return self from write method.

  • Loading branch information...
1 parent cd41f40 commit 832887986e408719a7c763c300424c03228b095d @pjcj committed Apr 17, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Devel/Cover/DB/IO.pm
View
@@ -68,7 +68,8 @@ sub write
if ($self->{format} eq "Storable")
{
- return Storable::nstore($data, $file);
+ Storable::nstore($data, $file);
+ return $self;
}
open my $fh, ">", $file or die "Can't open $file: $!";

0 comments on commit 8328879

Please sign in to comment.