AnyEvent::FTP::Request - Request class for asynchronous ftp server
version 0.16
Instances of this class represent client requests.
my $command = $req->command;
The command, usually something like USER, PASS, HELP, etc.
USER
PASS
HELP
my $args = $res->args;
The arguments passed in with the command
my $raw = $res->raw;
The raw, unparsed request.
my $str = $res->as_string my $str = "$res";
Returns a string representation of the request. This may not be exactly the same as what was actually sent to the server (see raw attribute for that). You can also call this by treating the object like a string (using string operators, or including it in a double quoted string), so
raw
print "$req";
is the same as
print $req->as_string;
Author: Graham Ollis <plicease@cpan.org>
Contributors:
Ryo Okamoto
Shlomi Fish
José Joaquín Atria
This software is copyright (c) 2017 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::FTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::FTP
CPAN shell
perl -MCPAN -e shell install AnyEvent::FTP
For more information on module installation, please visit the detailed CPAN module installation guide.