Graham Ollis > AnyEvent-Finger > AnyEvent::Finger::Request

Download:
AnyEvent-Finger-0.09.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.09   Source  

NAME ^

AnyEvent::Finger::Request - Simple asynchronous finger request

VERSION ^

version 0.09

SYNOPSIS ^

 my $request = AnyEvent::Finger::Request->new('foo@localhost');

DESCRIPTION ^

This class represents finger request. It is passed into AnyEvent::Finger::Server when a finger request is made. See the documentation on that class for more details.

CONSTRUCTOR ^

AnyEvent::Finger::Request->new( $address )

The constructor takes a string which is the raw finger request.

ATTRIBUTES ^

$request->verbose

True if request is asking for a verbose response. False if request is not asking for a verbose response.

$request->username

The username being requested.

$request->hostnames

Returns a list of hostnames (as an array ref) in the request.

$request->as_string

Converts just the username and hostnames fields into a string.

$request->listing_request

Return true if the request is for a listing of users.

$request->forward_request

Return true if the request is to query another host.

AUTHOR ^

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 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.

syntax highlighting: