AnyEve...equest(3pm)

πŸ“¦ version 0.20, in ubuntu stonking

✨ 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

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