in reply to Re: overriding print built-inin thread overriding print built-in
Specifically you're going to be interested in the TIEHANDLE and related routines from perltie; and perhaps IO::Scalar or the like for inspiration.