diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-21 12:06:34 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-21 12:06:34 +0100 |
commit | 2c5ddf10d9179d641bd70dc4602f33ee59fc8799 (patch) | |
tree | 9071b301c3e00e8639644045504df1e02d8b8132 /perllib/Utils.pm | |
parent | 0f232284cd42dcea741ce1131151cefaf2e9e150 (diff) | |
parent | 62ba3756efd59ec2d39b07b5b0ccd109da355d08 (diff) |
Merge branch 'master' into new_statuses
Diffstat (limited to 'perllib/Utils.pm')
-rw-r--r-- | perllib/Utils.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/Utils.pm b/perllib/Utils.pm index bf8ac2805..44234607f 100644 --- a/perllib/Utils.pm +++ b/perllib/Utils.pm @@ -47,6 +47,7 @@ Takes the WGS84 latitude and longitude and returns OSGB36 easting and northing. sub convert_latlon_to_en { my ( $latitude, $longitude ) = @_; + local $SIG{__WARN__} = sub { die $_[0] }; my ( $easting, $northing ) = mySociety::Locale::in_gb_locale { mySociety::GeoUtil::wgs84_to_national_grid( $latitude, $longitude, 'G' ); |