Skip to content

Commit

Permalink
new() allow the caller to override the geo_coders arg
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Mar 19, 2024
1 parent 34e5cd2 commit 214ac84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Geo/Coder/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sub new {
return bless { %{$class}, %args }, ref($class);
}

return bless { debug => DEBUG, %args, geo_coders => [] }, $class;
return bless { debug => DEBUG, geo_coders => [], %args }, $class;
}

=head2 push
Expand Down

0 comments on commit 214ac84

Please sign in to comment.