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

Name

SPVM::File::Glob - The BSD glob Porting

Description

The File::Glob class of SPVM has a method that is a port of the BSD glob function.

Usage

  use File::Glob;
  
  my $files = File::Glob->glob("path/*");
  
  my $files = File::Glob->glob("path/?oo");

Class Methods

  static method glob : string[] ($pattern : string);

The bsd_glob porting.

The ~ expansion is not supported.

Repository

SPVM::File::Glob - Github

Author

Yuki Kimoto kimoto.yuki@gmail.com

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License