Suggestions for what? To make it work? To make it faster? More efficient? More secure? Shorter? Cleaner, easier to read?
For starters, I'll throw in that Perl can interpolate variables within double-quoted strings, so you don't have to concatenate long series of strings and variables like you're writing Javascript. Also, when you're joining a bunch of strings together with a common delimiter, the join function comes in handy. So your last print line could be much clearer:
print join("\t", "Count: $count", "ADDRESS: $address1", "CITY: $city", "STATE: $prov", "Duration: $duration", "Distance: $distance", "Status: ".$response->status ), "\n"; $count++;
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re: Google MapsAPI
by aaron_baugher
in thread Google MapsAPI
by drodinthe559
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |