1File::Find::Object::ResUusletr(3C)ontributed Perl DocumeFnitlaet:i:oFnind::Object::Result(3)
2
3
4
6 File::Find::Object::Result - a result class for File::Find::Object
7
9 version v0.3.2
10
12 This is a class returning a single File::Find::Object result as
13 returned by its next_obj() method.
14
16 File::Find::Object::Result->new({%args});
17 Initializes a new object from %args. For internal use.
18
19 $result->base()
20 Returns the base directory from which searching began.
21
22 $result->path()
23 Returns the full path of the result. As such "$ffo->next_obj()->path()"
24 is equivalent to "$ffo->next()" .
25
26 $result->is_dir()
27 Returns true if the result refers to a directory.
28
29 $result->is_file()
30 Returns true if the result refers to a plain file (equivalent to the
31 Perl "-f" operator).
32
33 $result->is_link()
34 Returns true if the result is a symbolic link.
35
36 $result->dir_components()
37 The components of the directory part of the path starting from base()
38 (also the full path if the result is a directory) as an array
39 reference.
40
41 $result->basename()
42 Returns the basename of the file (if it is a file and not a directory.)
43 Otherwise - undef().
44
45 $result->full_components()
46 Returns the full components of the result with the basename if it is a
47 file.
48
49 Returns a single array reference.
50
51 $result->stat_ret()
52 The return value of "stat" in perlfunc for the result, placed inside an
53 array reference. This is calculated by File::Find::Object and kept here
54 for convenience and for internal use.
55
57 File::Find::Object
58
60 Copyright (C) 2005, 2006 by Olivier Thauvin
61
62 This package is free software; you can redistribute it and/or modify it
63 under the following terms:
64
65 1. The GNU General Public License Version 2.0 -
66 http://www.opensource.org/licenses/gpl-license.php
67
68 2. The Artistic License Version 2.0 -
69 http://www.perlfoundation.org/legal/licenses/artistic-2_0.html
70
71 3. At your option - any later version of either or both of these
72 licenses.
73
75 Shlomi Fish <shlomif@cpan.org>
76
78 This software is Copyright (c) 2000 by Olivier Thauvin and others.
79
80 This is free software, licensed under:
81
82 The Artistic License 2.0 (GPL Compatible)
83
85 Please report any bugs or feature requests on the bugtracker website
86 http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-Find-Object or by email
87 to bug-file-find-object@rt.cpan.org.
88
89 When submitting a bug or request, please include a test-file or a patch
90 to an existing test-file that illustrates the bug or desired feature.
91
93 Perldoc
94 You can find documentation for this module with the perldoc command.
95
96 perldoc File::Find::Object
97
98 Websites
99 The following websites have more information about this module, and may
100 be of help to you. As always, in addition to those websites please use
101 your favorite search engine to discover more resources.
102
103 · MetaCPAN
104
105 A modern, open-source CPAN search engine, useful to view POD in
106 HTML format.
107
108 <http://metacpan.org/release/File-Find-Object>
109
110 · Search CPAN
111
112 The default CPAN search engine, useful to view POD in HTML format.
113
114 <http://search.cpan.org/dist/File-Find-Object>
115
116 · RT: CPAN's Bug Tracker
117
118 The RT ( Request Tracker ) website is the default bug/issue
119 tracking system for CPAN.
120
121 <https://rt.cpan.org/Public/Dist/Display.html?Name=File-Find-Object>
122
123 · AnnoCPAN
124
125 The AnnoCPAN is a website that allows community annotations of Perl
126 module documentation.
127
128 <http://annocpan.org/dist/File-Find-Object>
129
130 · CPAN Ratings
131
132 The CPAN Ratings is a website that allows community ratings and
133 reviews of Perl modules.
134
135 <http://cpanratings.perl.org/d/File-Find-Object>
136
137 · CPAN Forum
138
139 The CPAN Forum is a web forum for discussing Perl modules.
140
141 <http://cpanforum.com/dist/File-Find-Object>
142
143 · CPANTS
144
145 The CPANTS is a website that analyzes the Kwalitee ( code metrics )
146 of a distribution.
147
148 <http://cpants.cpanauthors.org/dist/File-Find-Object>
149
150 · CPAN Testers
151
152 The CPAN Testers is a network of smokers who run automated tests on
153 uploaded CPAN distributions.
154
155 <http://www.cpantesters.org/distro/F/File-Find-Object>
156
157 · CPAN Testers Matrix
158
159 The CPAN Testers Matrix is a website that provides a visual
160 overview of the test results for a distribution on various
161 Perls/platforms.
162
163 <http://matrix.cpantesters.org/?dist=File-Find-Object>
164
165 · CPAN Testers Dependencies
166
167 The CPAN Testers Dependencies is a website that shows a chart of
168 the test results of all dependencies for a distribution.
169
170 <http://deps.cpantesters.org/?module=File::Find::Object>
171
172 Bugs / Feature Requests
173 Please report any bugs or feature requests by email to
174 "bug-file-find-object at rt.cpan.org", or through the web interface at
175 <https://rt.cpan.org/Public/Bug/Report.html?Queue=File-Find-Object>.
176 You will be automatically notified of any progress on the request by
177 the system.
178
179 Source Code
180 The code is open to the world, and available for you to hack on. Please
181 feel free to browse it and play with it, or whatever. If you want to
182 contribute patches, please send me a diff or prod me to pull from your
183 repository :)
184
185 <http://bitbucket.org/shlomif/perl-file-find-object>
186
187 hg clone ssh://hg@bitbucket.org/shlomif/perl-file-find-object
188
189
190
191perl v5.28.0 2017-01-13 File::Find::Object::Result(3)