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

Changes for version 0.026

  • Fix support for mocking the top-level directory.
  • Symlinks should appear in readdir
  • Fix directory instantiation when creating a symlink.
  • GH #105: Show directories in readdir
  • Improve relative path management
  • Don't let stat() get confused with trailing forward slash
  • GH #118: Do not get confused by inner directory files.
  • GH #85: Do not corrupt blessed handles.

Modules

Allows tests to validate code that can interact with files without touching the file system.
Provides a class object for Test::MockFile to give out for opendir calls.
Provides a class for Test::MockFile to tie to on open or sysopen.

Examples