try adding this
use JSON; my $json=new JSON; my $unjson; eval{ $unjson=$json->allow_nonref->decode($message);} ; warn 'json decode error:'.$@ ."\n" if ($@); my $lat = $unjson->{"location"}{"lat"};
In reply to Re: Using Google APIs for Lattitude
by huck
in thread Using Google APIs for Lattitude
by mattpower
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |