Subject: | Problem with recursion get_shortest_route() |
Hello,
I create Map::Tube::Sofia module and i have a problem with recursion.
See example in attachment.
Regards,
Michal Špaček
Subject: | foo.pl |
#!/usr/bin/env perl
# Pragmas.
use strict;
use warnings;
# Modules.
use Encode qw(decode_utf8 encode_utf8);
use Map::Tube::Sofia;
# Object.
my $obj = Map::Tube::Sofia->new;
# Get route.
my $route = $obj->get_shortest_route(decode_utf8('ÐÑлин'), decode_utf8('ÐомÑко ÑоÑе'));
# Print out type.
print "Route: ".encode_utf8($route)."\n";