NAME

Path::Tiny::Glob - File globbing utility

VERSION

version 0.0.1

SYNOPSIS

use Path::Tiny::Glob;

my $dzil_files = pathglob( '~/work/perl-modules/*/dist.ini' );

while( my $file = $dzil_files->next ) {
    say "found a Dist::Zilla project at ", $file->parent;
}

DESCRIPTION

This module exports a single function, pathglob.

EXPORTED FUNCTIONS

pathglob

my $list = pathglob( $glob );

This function takes in a shell-like file glob, and returns a Lazy::List of Path::Tiny objects matching it.

Caveat: backtracking paths using .. don't work.

Supported globbing patterns

SEE ALSO

File::Wildcard

AUTHOR

Yanick Champoux yanick@cpan.org endorse

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Yanick Champoux.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.