We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c7466 commit 8f16b04Copy full SHA for 8f16b04
1 file changed
lib/Geo/Address/Formatter.pm
@@ -112,10 +112,10 @@ Optional parameters are as in the B<new> method.
112
my $instance;
113
114
sub instance {
115
- my ($class, %params) = @_;
+ my ($class, %params) = @_;
116
117
unless ($instance) {
118
- $instance = $class->new(@_);
+ $instance = $class->new(%params);
119
}
120
121
say STDERR "************* in Geo::Address::Formatter::instance ***" if ($debug);
0 commit comments