|Just another Perl shrine|
Re^2: Error: Attempt to reload module.. while testing failing requireby Discipulus (Abbot)
|on Jan 21, 2019 at 09:39 UTC||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:
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..
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.