In your code at line 27 I see:
if ($@){ "Couldn't get location : $place\n"; ### LINE 27 }else{ ($long, $lat) = @{ $response->{Point}{coordinates} }; }
What is the purpose of defining a nice error message string and then doing absolutely nothing with it? That's the "Useless use of..." something. Did you mean to print this string?
Do you think it's a problem...
Do you think it's a problem? The 'error' you cite is not an error per se, but a warning (see warnings module). Your code will still compile and run when this warning is being generated and you are free to ignore it if you wish, but it's usually a strong signal that something's wrong, as in this case: no print() call.
In reply to Re^7: How to make Geo::Coder::Google run even if input location doesn't exist
by AnomalousMonk
in thread How to make Geo::Coder::Google run even if input location doesn't exist
by M15U
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |