AnyEvent::Ident::Response - Simple asynchronous ident response
version 0.07
my $str = $res->as_string
The raw request as it was returned from the server.
my $bool = $res->is_success
True if the server returned a user and operating system, false otherwise.
my $port = $res->server_port
The server port in the original request.
my $port = $res->client_port
The client port in the original request.
my $username = $res->username
The username in the response.
my $os = $res->os
The operating system in the response.
my $charset = $res->charset
The encoding for the username. This will be US-ASCII if it was not provided by the server.
US-ASCII
my $type = $res->error_type
The error type returned from the server. Normally, this is one of
INVALID-PORT
NO-USER
HIDDEN-USER
UNKNOWN-ERROR
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2013 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install AnyEvent::Ident, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::Ident
CPAN shell
perl -MCPAN -e shell install AnyEvent::Ident
For more information on module installation, please visit the detailed CPAN module installation guide.