Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by poj (Abbot)
on Aug 01, 2015 at 15:32 UTC ( #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
  • Comment on Re: Why am I getting message «Operation "<=>": no method found,» ?
  • Download Code

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
Node Status?
node history
Node Type: note [id://1137123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2019-12-09 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?