Net::SSH2::Dir(3)
π Net::SSH2::Dir β the manual page, but make it bestie π
okay so this is Net::SSH2::Dir, a page from the User Contributed Perl Documentation collection (that's the manual name, she's a user-contributed icon, we love her π«Ά), and she's all about the SSH 2 SFTP directory object. no cap.
β¨ NAME β¨
Net::SSH2::Dir β literally just the SSH 2 SFTP directory object. that's the whole vibe. π
πΈ DESCRIPTION πΈ
so here's the tea, bestie: an SFTP file object doesn't just appear out of nowhere. she's created by the Net::SSH2::SFTP opendir method. that's her origin story. that's her main character energy. π
π METHODS π
π¦ read π¦
okay so read is the moment. she returns a hash β and if you're in scalar context, she hands you a hashref instead, because she's flexible like that.
the keys of that hash? they are:
"name"- and every key returned by
Net::SSH2::SFTP::statβ¨
and if there are no more files? she gives you an empty list, or undef if you asked in scalar context. she's done. she's clocked out. π
π SEE ALSO π
Net::SSH2::SFTP. go read that one too, she's the bestie that introduced us. π«Ά
π AUTHOR π
David B. Robins, <dbrobins@cpan.org> β an absolute legend, we stan. π
π COPYRIGHT AND LICENSE π
Copyright (C) 2005, 2006 by David B. Robins; all rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available. so basically, go off. π
fr fr, keep the license intact β it's not a vibe, it's a requirement. π«‘
and that's the whole page, bestie!! π this one came from perl v5.42.0 and it's dated 2025-07-25, filed under Net::SSH2::Dir(3) β slay, ate, no crumbs left. mwah. π
β¨π
π¦ where this page comes from
- fedora 43: perl-Net-SSH2 0.74-4.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms