Skip to content

Commit

Permalink
Don't increase order unless it's a new file
Browse files Browse the repository at this point in the history
  • Loading branch information
sharyanto committed Jul 26, 2012
1 parent 5916c86 commit 2f728fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Devel/EndStats.pm
Expand Up @@ -50,6 +50,8 @@ sub import {
#unshift @INC, \&_inc_handler;
*CORE::GLOBAL::require = sub {
my ($arg) = @_;
return 0 if $INC{$arg};

$req_level++;

$inc_info{$arg} ||= {
Expand Down

0 comments on commit 2f728fc

Please sign in to comment.