Skip to content

Commit

Permalink
package名が取れないときの対処 Class::XSAccessr対策
Browse files Browse the repository at this point in the history
  • Loading branch information
kazeburo committed Jul 8, 2011
1 parent 722f729 commit b2d3718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OrePAN/Archive.pm
Expand Up @@ -150,7 +150,7 @@ sub _parse_version($) {
next if !$version;

push @pkgs, [$package, $version] if $package;
$pkgs[-1]->[1] = $version;
$pkgs[-1]->[1] = $version if @pkgs;
}
elsif (/^\s*__END__/) {
last;
Expand Down

0 comments on commit b2d3718

Please sign in to comment.