AnyEve...equest(3pm)
β¨ AnyEvent::FTP::Request β¨
okay bestie, welcome to AnyEvent::FTP::Request β it's a Perl module (the 3pm one, you know the vibe π
) and it lives in the User Contributed Perl Documentation section. Let's go, no cap.
πΈ VERSION πΈ
version 0.20
π DESCRIPTION π
so like. instances of this class? they represent client requests. that's it, that's the whole thing. each one of these lil objects is a single request that a client sent in, and it's giving very much "here's what they asked for" energy. π«Ά
π ATTRIBUTES π
command
my $command = $req->command;
the command, bestie!! usually something like "USER", "PASS", "HELP", etc. you know, the classic FTP lineup β¨
ngl the original doc literally says "etc." so we're keeping it at etc. don't come for me π
args
my $args = $res->args;
the arguments that got passed in along with the command π (yes, the example uses $res β that's the original, character for character, so we're not touching it π)
raw
my $raw = $res->raw;
the raw, unparsed request π like, before anything got prettied up. straight off the wire, main character energy.
π METHODS π
as_string
my $str = $res->as_string
my $str = "$res";
returns a string representation of the request β¨
β οΈ heads up: this may not be exactly the same as what was actually sent to the server. if you want the real real, go look at the "raw" attribute. periodt.
you can also just call this by treating the object like a string β using string operators, or dropping it in a double quoted string β so:
print "$req";
is literally the same as
print $req->as_string;
obsessed. two ways, same slay. π
π¦ AUTHOR π¦
Author: Graham Ollis <plicease@cpan.org>
Contributors:
- Ryo Okamoto
- Shlomi Fish
- JosΓ© JoaquΓn Atria
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2017-2022 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.
k bye bestie, that's the whole page π it's generated by perl v5.40.1 and dated 2026-02-16, and the source is the User Contributed Perl Documentation for AnyEvent::FTP::Request(3pm). go forth and slay your FTP requests π§ββοΈπ
π¦ where this page comes from
- ubuntu stonking: libanyevent-ftp-perl 0.20-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms