Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: $path->children('*.txt') or $path->glob('*.txt') #279

Open
mscha opened this issue Dec 13, 2022 · 0 comments
Open

Feature request: $path->children('*.txt') or $path->glob('*.txt') #279

mscha opened this issue Dec 13, 2022 · 0 comments

Comments

@mscha
Copy link

mscha commented Dec 13, 2022

Of course, to find all text files, you can do

$path->children(qr/\.txt$/)

But that's not an intuitive way to think of filenames.

It'd be much nicer to be able to do

$path->children('*.txt')

Or if that might cause problems with compatibility,

$path->glob('*.txt')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant