Subject: | Example code for Net::Google::Spelling incorrectly constructs object |
I believe that the example code in the "Synopsis" for
Net::Google::Spelling contains a typo.
The current "Synopsis" provides the example code:
my $spelling = Net::Google::Spelling(\%args);
This line looks like it is supposed to be constructing a new
Net::Google::Spelling object, but it is missing a call to new().
To correct this error, the line should probably be changed to read:
my $spelling = Net::Google::Spelling->new(\%args);