in reply to Re^3: Help with JSON Module
in thread Help with JSON Module
Thank you. However with the following code:
#!/usr/bin/perl use warnings; use strict; use WebService::Tesco::API; use JSON; use Data::Dumper my $tesco = WebService::Tesco::API->new( app_key => 'xxxxx', developer +_key => 'xxxx', debug => 1, ); my $result = $tesco->login({ email => 'xxxxx@yahoo.co.uk', password => + 'xxxxx', }); print "Scan Item...."; my $pn = <>; #Scan Bar Code chop ($pn); # +remove %OA from end of scan code my $code = $tesco->product_search({ searchtext => $pn, extendedinfo => + 'N' }); print Dumper ($code);
All I get is:
"WebService::Tesco::API=HASH(0xf66940)" is not exported by the Data::D +umper module Can't continue after import errors at tesco_json_dumper.pl line 9. BEGIN failed--compilation aborted at tesco_json_dumper.pl line 9.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Help with JSON Module
by Corion (Patriarch) on Sep 08, 2012 at 09:07 UTC | |
by foggy3657 (Novice) on Sep 08, 2012 at 09:24 UTC | |
by Corion (Patriarch) on Sep 08, 2012 at 09:33 UTC | |
by foggy3657 (Novice) on Sep 08, 2012 at 09:46 UTC | |
by Corion (Patriarch) on Sep 08, 2012 at 09:49 UTC | |
by kcott (Archbishop) on Sep 08, 2012 at 11:38 UTC | |
by foggy3657 (Novice) on Sep 08, 2012 at 12:27 UTC | |
by kcott (Archbishop) on Sep 08, 2012 at 13:06 UTC |