Subject: | "new" documentation inconsistency |
The code example indicates that you give a full URL:
my $g = Geo::Parser::Text->new('http://geocode.xyz');
However the documentation for new() says you don't:
my $geo = new ( host => 'geocode.xyz');
So, which is it? Or will both work?