in reply to
Using currently selected filehandle
Easy solution. Implement printto by temporarily selecting the handle you want to print to and then calling print. The print function just works straight.
No typeglob tricks needed.
Comment on
Re: Using currently selected filehandle
In Section
Seekers of Perl Wisdom