AnyEvent-Ping

 view release on metacpan or  search on metacpan

inc/Module/Install.pm  view on Meta::CPAN

# }

use 5.006;
use strict 'vars';
use Cwd        ();
use File::Find ();
use File::Path ();

use vars qw{$VERSION $MAIN};
BEGIN {
	# All Module::Install core packages now require synchronised versions.
	# This will be used to ensure we don't accidentally load old or
	# different versions of modules.
	# This is not enforced yet, but will be some time in the next few
	# releases once we can make sure it won't clash with custom
	# Module::Install extensions.
	$VERSION = '1.16';

	# Storage for the pseudo-singleton
	$MAIN    = undef;

lib/AnyEvent/Ping.pm  view on Meta::CPAN

                $status, $host, $time * 1000;
        };
        $c->send;
    });

    $c->recv;
    $ping->end;

=head1 DESCRIPTION

L<AnyEvent::Ping> is an asynchronous AnyEvent pinger.

=head1 ATTRIBUTES

L<AnyEvent::Ping> implements the following attributes.

=head2 C<interval>

    my $interval = $ping->interval;
    $ping->interval(1);



( run in 0.680 second using v1.01-cache-2.11-cpan-0d8aa00de5b )