quiet warnings about CGI::param in list context
[freeside.git] / httemplate / misc / xmlhttp-openstreetmap.html
1 <% $return %>\
2 <%init>
3
4 my $DEBUG = 0;
5
6 my $conf = new FS::Conf;
7
8 my $return = {};
9
10 my $url = "http://nominatim.openstreetmap.org/search?format=json&limit=1&q=" . $cgi->param('loc');
11
12 use LWP::Simple;
13 my $return = get $url;
14
15 </%init>