File::F...:Result(3)
π File::Find::Object::Result β the manual, but make it make sense
okay bestie, quick vibe check: this page is from User Contributed Perl Documentation, it's a little under File::Find::Object::Result and it's literally the glow-up of one single search result. Let's get into it β¨
πΈ NAME πΈ
File::Find::Object::Result β a result class for File::Find::Object. that's it, that's the whole name. it's giving supporting character who's actually the main character π
β VERSION β
version 0.3.9 β yes, she has a version, she's a real girlie π
π¦ DESCRIPTION π¦
so picture this: this is a class that hands you back one single File::Find::Object result β exactly the kind of thing its next_obj() method gives you. one object, one result, one moment of main character energy. no cap β¨
π METHODS π
π§ File::Find::Object::Result->new({%args});
initializes a brand new object from %args. and honestly? it's for internal use, so don't come for her unless you're the module itself π
πΈ $result->base()
returns the base directory β like, the spot where the whole searching adventure began. the origin story, if you will π«Ά
π¦ $result->path()
returns the full path of the result. and here's the tea: "$ffo->next_obj()->path()" is literally equivalent to "$ffo->next()". same energy, different outfit π
β $result->is_dir()
returns true if the result is pointing at a directory. slay π
π $result->is_file()
returns true if the result is a plain file β and yes, it's equivalent to the Perl -f operator. iykyk π
π₯ $result->is_link()
returns true if the result is a symbolic link. the link is the moment, honestly πβ¨
π $result->dir_components()
the components of the directory part of the path, starting from base() β and note: it's also the full path if the result is a directory β all handed to you as an array reference. cute little box of pieces π
π $result->basename()
returns the basename of the file β but only if it's a file and not a directory. otherwise? undef(). she said "not applicable, next question" π
π§ $result->full_components()
returns the full components of the result, including the basename if it's a file.
and it comes back as a single array reference. one ref, all the goods π
π« $result->stat_ret()
the return value of "stat" in perlfunc for this result, tucked inside an array reference. it's calculated by File::Find::Object and kept here for convenience and for internal use β so like, it's a little pre-made gift from the parent module π
π SEE ALSO π
File::Find::Object
like, go look at her mom, she's iconic too π
π LICENSE π
Copyright (C) 2005, 2006 by Olivier Thauvin
this package is free software; you can redistribute it and/or modify it under the following terms:
- The GNU General Public License Version 2.0 β http://www.opensource.org/licenses/gpl-license.php
- The Artistic License Version 2.0 β http://www.perlfoundation.org/legal/licenses/artistic-2_0.html
- At your option β any later version of either or both of these licenses.
three choices, pick your fighter, it's giving build-your-own-license-bundle β¨
π«Ά SUPPORT π«Ά
π Websites
the following websites have more information about this module, and may be of help to you. as always β in addition to those websites please use your favorite search engine to discover more resources. bestie, google is free π
- MetaCPAN β a modern, open-source CPAN search engine, useful to view POD in HTML format.
- RT: CPAN's Bug Tracker β the RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
- CPANTS β the CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
- CPAN Testers β the CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
- CPAN Testers Matrix β the CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
- CPAN Testers Dependencies β the CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
π Bugs / Feature Requests
please report any bugs or feature requests by email to "bug-file-find-object at rt.cpan.org", or through the web interface at <https://rt.cpan.org/Public/Bug/Report.html?Queue=File-Find-Object>. and the best part? you will be automatically notified of any progress on the request by the system. no ghosting, we love to see it π»π
π» Source Code
the code is open to the world, and available for you to hack on. please feel free to browse it and play with it, or whatever. if you want to contribute patches, please send me a diff or prod me to pull from your repository :)
<https://github.com/shlomif/perl-file-find-object>
git clone git://github.com/shlomif/perl-file-find-object.git
clone it, hack it, live your truth π§β¨
π AUTHOR π
Shlomi Fish <shlomif@cpan.org> β the icon, the legend π
π BUGS π
please report any bugs or feature requests on the bugtracker website <https://github.com/shlomif/perl-file-find-object/issues>
when submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. like, help them help you, bestie β receipts or it didn't happen π§Ύπ
π COPYRIGHT AND LICENSE π
this software is Copyright (c) 2000 by Olivier Thauvin and others.
this is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
and that's the page!! π this was perl v5.42.0, dated 2025-07-25, footer game strong, File::F...:Result(3) β k byeee, go find some files π¦β¨
π¦ where this page comes from
- fedora 43: perl-File-Find-Object 0.3.9-3.fc43 Β· GPL-2.0-or-later OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms