Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Why am I getting message «Operation "<=>": no method found,» ?

by poj (Abbot)
on Aug 01, 2015 at 15:32 UTC ( [id://1137123]=note: print w/replies, xml ) Need Help??


in reply to Why am I getting message «Operation "<=>": no method found,» ?

Try
my $km = $gis->distance( $from_lat, $from_long => $to_lat, $to_long, ) ->value('km');
poj

Replies are listed 'Best First'.
Re^2: Why am I getting message «Operation "<=>": no method found,» ?
by RCH (Sexton) on Aug 01, 2015 at 15:40 UTC

    Thank you!

    my $km = $gis->distance( $from_lat, $from_long => $to_lat, $to_long, )->value('km');

    Works purrfectly

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1137123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-28 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found