The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

File-Globstar

This library implements globbing with support for "**" in Perl.

Two consecutive asterisks stand for all files and directories in the current directory and all of its descendants.

See Lhttps://github.com/gflohr/File-Globstar/blob/master/lib/File/Globstar.pod for more information.

The library also contains Lhttps://github.com/gflohr/File-Globstar/blob/master/lib/File/Globstar/ListMatch.pod, a module that implements matching against lists of patterns in the style of Lhttps://git-scm.com/docs/gitignore.

Webpages

Installation

Via CPAN:

 $ perl -MCPAN -e install 'File::Globstar'

From source:

 $ perl Build.PL
 Created MYMETA.yml and MYMETA.json
 Creating new 'Build' script for 'File-Globstar' version '0.1'
 $ ./Build
 $ ./Build install

From source with "make":

 $ git clone https://github.com/gflohr/File-Globstar.git
 $ cd File-Globstar
 $ perl Makefile.PL
 $ make
 $ make install

Usage

See "File/Globstar.pod" in lib and "File/Globstar/ListMatch.pod" in lib.

Contributing

Translate

Bugs

Please report bugs at https://github.com/gflohr/File-Globstar/issues

Copyright (C) 2016-2019, Guido Flohr, mailto:guido.flohr@cantanea.com, all rights reserved.