http://qs321.pair.com?node_id=843828


in reply to infinite while loop in POE::Component::IRC

Your sub can be simplified to
sub outputlog { outputlog() }
(once $switch is true). This is an infinite loop, indeed, but with no relation to buffering.