go ahead... be a heretic | |
PerlMonks |
Re^4: Intermittent bug in module: File not getting deleted as expectedby stevieb (Canon) |
on Feb 19, 2019 at 18:42 UTC ( [id://1230182]=note: print w/replies, xml ) | Need Help?? |
That, I'm unsure of. From perldoc -f -X:
Does File::Spec->catfile() modify the file mod time by chance? What happens if you put a two second delay in between that line (in the lib), and the unlink() call? Does that improve things? I know that's definitely not optimal, but it would be worth a shot especially if you can reliably reproduce the issue locally.
In Section
Seekers of Perl Wisdom
|
|