File::Wildcard::Find(3pm)

File::Wildcard::Find3pm

Simple interface to file::wildcard

Usage

  use File::Wildcard::Find;
  findbegin( "/home/me///core");
  while (my $file = findnext()) {
     unlink $file;
  }

Overview

File::Wildcard provides a comprehensive object interface that allows you to do powerful processing with wildcards. Some consider this too unwieldy for simple tasks.

The module File::Wildcard::Find provides a straightforward interface. Only a single wildcard stream is accessible, but this should be sufficient for one liners and simple applications.

Functions

findbegin

This takes 1 parameter, a path with wildcards as a string. See File::Wildcard for details of what can be passed.

findnext

Iterator that returns successive matches, then undef.

findall

Returns a list of all matches

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8–9
  3. 10
  4. 11
  5. 12–13

From libfile-wildcard-perl 0.11-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.