"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks haukex for your crystalline suggestions,
now I see: a module returning 0 will be automatically removed from %INC while a module that explicitly die will be not:
So i have no chanche at all to make the require or use to fail (in the right, intended way, aka leaving %INC clean)? Yes you pointed to the right source of Win32::Backup::Robocopy (thanks!) but as I'm now git aware ( ;) the env branch was not online: now is there Definitevely put the check in the new is better: but I'd avoid the our solution: are not to avoid these in modules? In the new call I can put a _check_robocopy but definetively I have to die or croack if what is set in %ENV is invalid. In the test I have to delete from %INC anyway.. Thanks! L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. In reply to Re^2: Error: Attempt to reload module.. while testing failing require
by Discipulus
|
|