Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      my $message = $resp->decoded_content;
    
     print "Received Reply:$message\n";
    
  2. or download this
    Received Reply:{
     "location": {
    ...
     },
     "accuracy": 901.0
    }
    
  3. or download this
    my $lat = $message->{"location"}{"lat"};
    
  4. or download this
    Can't use string ("{
     "location": {
      "lat": 53.423"...) as a HASH ref while "strict refs" in use at etc.e
    +tc.