Skip to content

Commit

Permalink
Warningfy
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Nov 8, 2017
1 parent 61dbfd5 commit a5cd4a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Geo/Coder/US/Census.pm
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ sub geocode {
}
$query_parameters{'city'} = $hr->{'city'};
$query_parameters{'state'} = $hr->{'state'};

$uri->query_form(%query_parameters);
my $url = $uri->as_string();

Expand Down Expand Up @@ -190,7 +190,7 @@ sub run {
my $location = join(' ', @_);

my @rc = $class->new()->geocode($location);

die "$0: geocoding failed" unless(scalar(@rc));

print Data::Dumper->new([\@rc])->Dump();
Expand Down
1 change: 1 addition & 0 deletions t/00-load.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!perl -T

use warnings;
use strict;

use Test::Most tests => 2;
Expand Down
1 change: 1 addition & 0 deletions t/port.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use Test::Most;

use warnings;
use strict;

eval 'use Test::Portability::Files';
Expand Down

0 comments on commit a5cd4a2

Please sign in to comment.