Perl inconcistency
This happened about a year ago, but I forgot about it until now… I found this “feature” while developing a simulator to use with honeyd.
After I finished it, my employer said it should run on Windows too, since I didn’t used anything unportable, it should had to run without modifications, but it didn’t.
For some weird reason, undef evaluates to true on Windows… that’s a bug, undef is expected to evaluate to false always, it’s not an undefined beviahour. I can’t explain how a bug like that ended there, and I don’t want to know, because it’s a weird platform anyway.