Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Unable to reach branch - Dead code or defensive programming?by Anonymous Monk |
on Feb 24, 2015 at 21:00 UTC ( [id://1117729]=note: print w/replies, xml ) | Need Help?? |
Oops, scratch that suggestion since you're using stat, from perltie: Tied filehandles are still incomplete. sysopen(), truncate(), flock(), fcntl(), stat() and -X can't currently be trapped. On the topic of mocking stat and -X: Mock/Fake network fileshare for my new modules Test Suite
In Section
Seekers of Perl Wisdom
|
|