Skip Menu |

This queue is for tickets about the Google-Chart CPAN distribution.

Report information
The Basics
Id: 39317
Status: resolved
Priority: 0/
Queue: Google-Chart

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

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



Subject: size coersion from hashref is no good
The synopsis says: my $chart = Google::Chart->new( size => { width => 400, height => 300 } ); This is no good, it doesn't work. The hashref needs to be wrapped in ANOTHER hash ref and made the value for the key "args" Blech. -- rjbs
Thanks, there might be more instances of this sort of problem, as I used a very hack-ish coercion routine. I've fixed this in svn, and will upload a new version very soon. On 月曜日 9月 15 23:08:32 2008, RJBS wrote: Show quoted text
> The synopsis says: > > my $chart = Google::Chart->new( > size => { > width => 400, > height => 300 > } > ); > > This is no good, it doesn't work. The hashref needs to be wrapped in > ANOTHER hash ref and > made the value for the key "args" > > Blech.