Traceroute::Similar - calculate common route for a bunch of hosts
use Traceroute::Similar; my $ts = Traceroute::Similar->new(); print $ts->get_last_common_hop('host1.com', 'host2.org');
This module calculates the furthest common hop from a list of host. The backend will be Net::Traceroute:PurePerl or Net::Traceroute or system tracerroute (which may require root or sudo permissions).
- new ( [ARGS] )
Traceroute::Similarobject. All arguments are optional.
backend 'Net::Traceroute' or 'Net::Traceroute::PurePerl' verbose verbose mode
- get_backend ( )
returns the used backend or undef if none found
- get_last_common_hop ( host 1, host 2, [ host x...] )
return the last hop which is part of all given hosts
- get_common_hops ( host 1, host 2, [ host x...] )
return an array ref of the common hops from this list of hosts
Sven Nierlein, <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Sven Nierlein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 272:
You forgot a '=back' before '=head1'