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).
Creates an Traceroute::Similar object. All arguments are optional.
Traceroute::Similar
backend 'Net::Traceroute' or 'Net::Traceroute::PurePerl' verbose verbose mode
returns the used backend or undef if none found
return the last hop which is part of all given hosts
return an array ref of the common hops from this list of hosts
Sven Nierlein, <nierlein@cpan.org>
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:
You forgot a '=back' before '=head1'
To install Traceroute::Similar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Traceroute::Similar
CPAN shell
perl -MCPAN -e shell install Traceroute::Similar
For more information on module installation, please visit the detailed CPAN module installation guide.