Name

SPVM::File::Find::Callback - Callback for find method

Description

File::Find::Callback class in SPVM has an interface method for the callback for File::Find#find method.

Usage

File::Find->new->find(method : void ($info : File::Find::Info) {
  
  my $dir = $info->dir;
  
  my $file_name = $info->name;
  
}, $top_dir);

Interface Methods

required method : void ($info : File::Find::Info);

An interface method for the callback method for File::Find#find method.

See Also

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License