Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help

The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...

The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.

System Arch

RPM resource perl-File-Finder

'File::Find' is great, but constructing the 'wanted' routine can sometimes be a pain. This module provides a 'wanted'-writer, using syntax that is directly mappable to the _find_ command's syntax. Also, I find myself (heh) frequently just wanting the list of names that match. With 'File::Find', I have to write a little accumulator, and then access that from a closure. But with 'File::Finder', I can turn the problem inside out. A 'File::Finder' object contains a hash of 'File::Find' options, and a series of steps that mimic _find_'s predicates. Initially, a 'File::Finder' object has no steps. Each step method clones the previous object's options and steps, and then adds the new step, returning the new object. In this manner, an object can be grown, step by step, by chaining method calls. Furthermore, a partial sequence can be created and held, and used as the head of many different sequences. For example, a step sequence that finds only files looks like: my $files = File::Finder->type('f'); Here, 'type' is acting as a class method and thus a constructor. An instance of 'File::Finder' is returned, containing the one step to verify that only files are selected. We could use this immediately as a 'File::Find::find' wanted routine, although it'd be uninteresting: use File::Find; find($files, "/tmp"); Calling a step method on an existing object adds the step, returning the new object: my $files_print = $files->print; And now if we use this with 'find', we get a nice display: find($files_print, "/tmp"); Of course, we didn't really need that second object: we could have generated it on the fly: find($files->print, "/tmp"); 'File::Find' supports options to modify behavior, such as depth-first searching. The 'depth' step flags this in the options as well: my $files_depth_print = $files->depth->print; However, the 'File::Finder' object needs to be told explictly to generate an options hash for 'File::Find::find' to pass this information along: find($files_depth_print->as_options, "/tmp"); A 'File::Finder' object, like the _find_ command, supports AND, OR, NOT, and parenthesized sub-expressions. AND binds tighter than OR, and is also implied everywhere that it makes sense. Like _find_, the predicates are computed in a "short-circuit" fashion, so that a false to the left of the (implied) AND keeps the right side from being evaluated, including entire parenthesized subexpressions. Similarly, if the left side of an OR is false, the right side is evaluated, and if the left side of the OR is true, the right side is skipped. Nested parens are handled properly. Parens are indicated with the rather ugly 'left' and 'right' methods: my $big_or_old_files = $files->left->size("+50")->or->atime("+30")->right; The parens here correspond directly to the parens in: find somewhere -type f '(' -size +50 -o -atime +30 ')' and are needed so that the OR and the implied ANDs have the right nesting. Besides passing the constructed 'File::Finder' object to 'File::Finder::find' directly as a 'wanted' routine or an options hash, you can also call 'find' implictly, with 'in'. 'in' provides a list of starting points, and returns all filenames that match the criteria. For example, a list of all names in /tmp can be generated simply with: my @names = File::Finder->in("/tmp"); For more flexibility, use 'collect' to execute an arbitrary block in a list context, concatenating all the results (similar to 'map'): my %sizes = File::Finder ->collect(sub { $File::Find::name => -s _ }, "/tmp"); That's all I can think of for now. The rest is in the detailed reference below.

Found 3 sites for perl-File-Finder

Found 22 RPM for perl-File-Finder

PackageSummaryDistributionDownload
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia Cauldron for armv7hlperl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia Cauldron for x86_64perl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia Cauldron for aarch64perl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia 9 for i586perl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia 9 for armv7hlperl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia 9 for x86_64perl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia 9 for aarch64perl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-11.mga9.noarch.htmlSteps for File::FinderMageia Cauldron for i686perl-File-Finder-0.530.0-11.mga9.noarch.rpm
perl-File-Finder-0.530.0-10.mga8.noarch.htmlSteps for File::FinderMageia 8 for aarch64perl-File-Finder-0.530.0-10.mga8.noarch.rpm
perl-File-Finder-0.530.0-10.mga8.noarch.htmlSteps for File::FinderMageia 8 for x86_64perl-File-Finder-0.530.0-10.mga8.noarch.rpm
perl-File-Finder-0.530.0-10.mga8.noarch.htmlSteps for File::FinderMageia 8 for armv7hlperl-File-Finder-0.530.0-10.mga8.noarch.rpm
perl-File-Finder-0.530.0-10.mga8.noarch.htmlSteps for File::FinderMageia 8 for i586perl-File-Finder-0.530.0-10.mga8.noarch.rpm
perl-File-Finder-0.530.0-5.noarch.htmlSteps for File::FinderOpenMandriva Cooker for x86_64perl-File-Finder-0.530.0-5.noarch.rpm
perl-File-Finder-0.530.0-5.noarch.htmlSteps for File::FinderOpenMandriva 5.0 for x86_64perl-File-Finder-0.530.0-5.noarch.rpm
perl-File-Finder-0.53-1.35.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Ports Tumbleweed for noarchperl-File-Finder-0.53-1.35.noarch.rpm
perl-File-Finder-0.53-1.28.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Tumbleweed for noarchperl-File-Finder-0.53-1.28.noarch.rpm
nice wrapper for File::Find ala find(1)perl-File-Finder-0.53-1.7.noarch.rpm
perl-File-Finder-0.53-bp156.3.1.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Leap 15.6 for noarchperl-File-Finder-0.53-bp156.3.1.noarch.rpm
perl-File-Finder-0.53-bp155.2.9.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Leap 15.5 for noarchperl-File-Finder-0.53-bp155.2.9.noarch.rpm
perl-File-Finder-0.53-bp154.1.19.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Leap 15.4 for noarchperl-File-Finder-0.53-bp154.1.19.noarch.rpm
perl-File-Finder-0.53-bp153.1.14.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Leap 15.3 for noarchperl-File-Finder-0.53-bp153.1.14.noarch.rpm
perl-File-Finder-0.53-lp152.3.2.noarch.htmlnice wrapper for File::Find ala find(1)OpenSuSE Leap 15.2 for noarchperl-File-Finder-0.53-lp152.3.2.noarch.rpm

Generated by rpm2html 1.6

Fabrice Bellet