Dusty Wilson > Megagram-ResolveSRV-0.01 > Megagram::ResolveSRV

Download:
Megagram-ResolveSRV-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

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.