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


in reply to Override printing to STDOUT/ERR

I would follow Jenda's advice in Re: !Overriding Builtin print and use tie to redirect all kinds of writes to a filehandle to a subroutine of my choosing.