Skip Menu |

This queue is for tickets about the Amazon-SNS CPAN distribution.

Report information
The Basics
Id: 70563
Status: resolved
Priority: 0/
Queue: Amazon-SNS

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

Bug Information
Severity: Normal
Broken in: 1.0
Fixed in: 1.2



The documentation states that parameters are passed as a hash, but they are in fact passed as a hashref. Passing a hash causes Class::Accessor to blow up in a particularly uninformative way. So the docs should read: $sns = Amazon::SNS->new( { key => $key, secret => $secret } );
On Sun Aug 28 19:56:58 2011, JFITZ wrote: Show quoted text
> The documentation states that parameters are passed as a hash, but they > are in fact passed as a hashref. Passing a hash causes Class::Accessor to > blow up in a particularly uninformative way. > > So the docs should read: > > $sns = Amazon::SNS->new( { key => $key, secret => $secret } );