Author image Todd Rinaldo
and 1 contributors

Changes for version 0.018

  • Properly handle open and sysopen file handles going out of scope.
  • Provide a helper method to mock objects to determine the file name. GH #31
  • Do not throw a file access hook when statting a file handle that is not under MockFile control. GH #30
  • Read multiple lines via readline when wantarray is true. GH #29

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