NAME

Megagram::ResolveSRV

SYNOPSIS

Tells you the hosts and order to use for services using SRV records (like XMPP, etc).

ABSTRACT

use Megagram::ResolveSRV;

my $rsrv = Megagram::ResolveSRV->new;
my @hosts = $rsrv->resolve('_xmpp-server._tcp.google.com');

use Data::Dumper;
print Dumper(\@hosts);

BUGS

Not really a bug, but the weighting logic is a little crummy.
Feel free to send a patch for it.  It works well enough for me for the moment.

AUTHOR

Dusty Wilson
Megagram Managed Technical Services
http://www.megagram.com/

LICENSE

This module is free software, you can redistribute it and/or modify
it under the same terms as Perl itself.