Subject: | Example re Business::PayPal->new($id) wrong |
Date: | Thu, 12 Jun 2014 07:47:14 +0000 |
To: | <bug-Business-PayPal [...] rt.cpan.org> |
From: | Dietmar König <dkoenig [...] ferienwohnungen.de> |
Hello,
In the synopsis you see as example for instantiation of Business::PayPal the line:
my $paypal = Business::PayPal->new($id);
This causes the error:
Odd number of elements in anonymous hash at /usr/lib/perl5/site_perl/5.10.0/Business/PayPal.pm line 245
to appear in the error logs.
The correct way to instantiate would be:
my $paypal = Business::PayPal->new(id => $id);
Regards,
Dietmar Koenig
Fewodata e.K.
Am Mühlenteich 7
D-24960 Glücksburg (Ostsee)
Handelsregister-Nr.: 2 HRA 4382
Handelsgericht: Flensburg
USt-IdNr.: DE216916029
Telefon: 0049 (0)4631 44460-0
Fax: 0049 (0)4631 44460-210
E-Mail: support@ferienwohnungen.de
Message body is not shown because it is too large.