in reply to Using Test modules in production scripts

Dont do that, I think its bad style.

You might be able to remove the file/directory existance tests in the code, if you ran the tests beforehand and everything worked out.

  • Comment on Re: Using Test modules in production scripts

Replies are listed 'Best First'.
Re^2: Using Test modules in production scripts
by DStaal (Chaplain) on Feb 15, 2011 at 15:23 UTC

    Only if you are sure you absolutely need the (very) few cycles they take, and that nothing else on the system - including the sysadmin - could ever conceivably remove/alter the file/directories in question.