From: Sandro Santilli Date: Tue, 25 Feb 2014 08:32:06 +0000 (+0000) Subject: Qualify hash as such X-Git-Tag: 2.2.0rc1~1220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f56ed646ae8fcae78e58f762a5d87f77fc466f21;p=postgis Qualify hash as such Attempt to fix #2656 git-svn-id: http://svn.osgeo.org/postgis/trunk@12280 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/postgis_proc_upgrade.pl b/utils/postgis_proc_upgrade.pl index 93e473866..a94328169 100755 --- a/utils/postgis_proc_upgrade.pl +++ b/utils/postgis_proc_upgrade.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # # PostGIS - Spatial Types for PostgreSQL @@ -112,7 +112,7 @@ sub find_last_updated { my $type = shift; my $sig = shift; - for my $ver ( sort { $b cmp $a } keys $objs ) { + for my $ver ( sort { $b cmp $a } keys %$objs ) { if ( $objs->{$ver}->{$type}->{$sig} ) { return $ver; }