in reply to Re: Mock/Fake network fileshare for my new modules Test Suite
in thread Mock/Fake network fileshare for my new modules Test Suite

Here's a PerlMonks post in which Athanasius shows how a class can overload -X operations performed on itself (that would require that you use this class for all -s calls). According to this StackOverflow post, overriding the file test operators isn't directly possible. stat can be mocked, but I haven't yet found out if it's possible to affect -X.

Replies are listed 'Best First'.
Re^3: Mock/Fake network fileshare for my new modules Test Suite
by DrHyde (Prior) on Aug 28, 2014 at 15:38 UTC