Permalink
Browse files

Fix deprecated access to hash as hashref

  • Loading branch information...
1 parent 809385c commit 8dc68859862743df5f909eb7465757ce2e99892e @ringerc ringerc committed Nov 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 PgBuildWin/PgBuildWin.pm
View
@@ -43,7 +43,7 @@ sub build($) {
push(@makeargs, 'PGBUILDDIR="' . File::Spec::Win32->canonpath(getcwd()) . '"');
}
# Add config make arguments
- while (my ($k,$v) = each %$cfg->{'makeargs'}) {
+ while (my ($k,$v) = each ($cfg->{'makeargs'})) {
if (defined($v)) {
push(@makeargs, "$k=\"$v\"");
}
@@ -64,4 +64,4 @@ sub build($) {
print("Build successful");
}
return ($ret == 0);
-}
+}

0 comments on commit 8dc6885

Please sign in to comment.