in reply to Re: Cutting repetition in POE coding
in thread Cutting repetition in POE coding

Your sub name, check_condition(), does not imply to the reader that there is a side-effect, namely, posting an event to the kernel.

--
[ e d @ h a l l e y . c c ]