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

DEVELOPMENT

Repository

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

AUTHOR

Sergey Zasenko, undef@cpan.org.

CREDITS

Neil Bowers (NEILB)

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 297:

You forgot a '=back' before '=head1'