Skip Menu |

This queue is for tickets about the Geo-Coder-Cloudmade CPAN distribution.

Report information
The Basics
Id: 73478
Status: resolved
Priority: 0/
Queue: Geo-Coder-Cloudmade

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.2
Fixed in: (no value)



Subject: Documentation for constructor
The SYNOPSIS of Geo::Coder::Cloudmade says my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' ); However, it seems that it needs to be my $geocoder = Geo::Coder::Cloudmade->new( {apikey => 'my_app'} ); instead. Regards, Slaven
On 2011-12-25 15:44:06, SREZIC wrote: Show quoted text
> The SYNOPSIS of Geo::Coder::Cloudmade says > > my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' ); > > However, it seems that it needs to be > > my $geocoder = Geo::Coder::Cloudmade->new( {apikey => 'my_app'} ); > > instead. >
However, as other geocoding modules like Geo::Coder::Google do not use a hash reference but a plain hash in the constructor, it's probably better to adjust the implementation to the existing documentation here. Regards, Slaven
This is fixed in the 0.3 release - apologies for the looong delay :(. On Sun Dec 25 17:40:11 2011, SREZIC wrote: Show quoted text
> On 2011-12-25 15:44:06, SREZIC wrote:
> > The SYNOPSIS of Geo::Coder::Cloudmade says > > > > my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' ); > > > > However, it seems that it needs to be > > > > my $geocoder = Geo::Coder::Cloudmade->new( {apikey => 'my_app'} ); > > > > instead. > >
> > However, as other geocoding modules like Geo::Coder::Google do not use a > hash reference but a plain hash in the constructor, it's probably better > to adjust the implementation to the existing documentation here. > > Regards, > Slaven >
On Fri Aug 23 12:06:59 2013, FRIFFIN wrote: Show quoted text
> This is fixed in the 0.3 release - apologies for the looong delay :(. > > On Sun Dec 25 17:40:11 2011, SREZIC wrote:
> > On 2011-12-25 15:44:06, SREZIC wrote:
> > > The SYNOPSIS of Geo::Coder::Cloudmade says > > > > > > my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' ); > > > > > > However, it seems that it needs to be > > > > > > my $geocoder = Geo::Coder::Cloudmade->new( {apikey => 'my_app'} ); > > > > > > instead. > > >
> > > > However, as other geocoding modules like Geo::Coder::Google do not > > use a > > hash reference but a plain hash in the constructor, it's probably > > better > > to adjust the implementation to the existing documentation here. > > > > Regards, > > Slaven > >
On 2013-08-23 12:06:59, FRIFFIN wrote: Show quoted text
> This is fixed in the 0.3 release - apologies for the looong delay :(. >
I don't see the 0.3 release ... anyway, I prefer if to set the status to "patched" until the release is done, to avoid confusion. Regards, Slaven Show quoted text
> On Sun Dec 25 17:40:11 2011, SREZIC wrote:
> > On 2011-12-25 15:44:06, SREZIC wrote:
> > > The SYNOPSIS of Geo::Coder::Cloudmade says > > > > > > my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' ); > > > > > > However, it seems that it needs to be > > > > > > my $geocoder = Geo::Coder::Cloudmade->new( {apikey => 'my_app'} ); > > > > > > instead. > > >
> > > > However, as other geocoding modules like Geo::Coder::Google do not > > use a > > hash reference but a plain hash in the constructor, it's probably > > better > > to adjust the implementation to the existing documentation here. > > > > Regards, > > Slaven > >
0.4 release is done and available on cpan :). On Wed Aug 28 04:44:00 2013, SREZIC wrote: Show quoted text
> On 2013-08-23 12:06:59, FRIFFIN wrote:
> > This is fixed in the 0.3 release - apologies for the looong delay :(. > >
> > I don't see the 0.3 release ... anyway, I prefer if to set the status > to "patched" until the release is done, to avoid confusion. > > Regards, > Slaven >
> > On Sun Dec 25 17:40:11 2011, SREZIC wrote:
> > > On 2011-12-25 15:44:06, SREZIC wrote:
> > > > The SYNOPSIS of Geo::Coder::Cloudmade says > > > > > > > > my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' ); > > > > > > > > However, it seems that it needs to be > > > > > > > > my $geocoder = Geo::Coder::Cloudmade->new( {apikey => 'my_app'} > > > > ); > > > > > > > > instead. > > > >
> > > > > > However, as other geocoding modules like Geo::Coder::Google do not > > > use a > > > hash reference but a plain hash in the constructor, it's probably > > > better > > > to adjust the implementation to the existing documentation here. > > > > > > Regards, > > > Slaven > > >