Сергей Засенко > MojoX-Ping-0.511 > MojoX::Ping

Download:
MojoX-Ping-0.511.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.511   Source  

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.

syntax highlighting: