Skip to content

Commit

Permalink
Fix "once" warnings in Vend::CounterFile
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christensen committed Jun 22, 2017
1 parent 52cac90 commit 890b9ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Vend/CounterFile.pm
Expand Up @@ -387,6 +387,7 @@ sub DESTROY
# eval and __END__ so that error line numbers make more sense.

package main;
no warnings 'once';

eval join('',<DATA>) || die $@ unless caller();

Expand Down

0 comments on commit 890b9ea

Please sign in to comment.