Сергей Засенко
and 1 contributors

NAME

MojoX::Ping - asynchronous ping with Mojolicious (DEPRECATED).

SYNOPSIS

    # Run this code as root
    use MojoX::Ping;

    my $ping = MojoX::Ping->new;

    $ping->ping('google.com', 1, sub {
        my ($ping, $result) = @_;
        print "Result: ", $result->[0][0],
          " in ", $result->[0][1], " seconds\n";
        $ping->ioloop->stop;
    })->start;

DESCRIPTION

MojoX::Ping is an asynchronous ping for Mojo (DEPRECATED). Use AnyEvent::Ping instead.

SEE ALSO

Mojolicious, Mojo::IOLoop

SUPPORT

IRC

    #ru.pm on irc.perl.org
    

DEVELOPMENT

Repository

    http://github.com/und3f/mojox-ping

AUTHOR

Sergey Zasenko, undef@cpan.org.

COPYRIGHT AND LICENSE

Copyright (C) 2010, Sergey Zasenko

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.