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.
In Section
Seekers of Perl Wisdom
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.