Skip to content

Commit

Permalink
No need to explicitely reset the $line at each iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
vpit committed Apr 25, 2012
1 parent 1e68a8d commit 68d124e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Module/Load/Conditional.pm
Expand Up @@ -252,7 +252,8 @@ sub check_install {
if( $FIND_VERSION ) {

my $in_pod = 0;
while ( my $line = <$fh> ) {
my $line;
while ( $line = <$fh> ) {

### #24062: "Problem with CPANPLUS 0.076 misidentifying
### versions after installing Text::NSP 1.03" where a
Expand Down

0 comments on commit 68d124e

Please sign in to comment.