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

Buckaroo Buddha has asked for the wisdom of the Perl Monks concerning the following question: (input and output)

I wanted to do something like the following.
open( FILE, $file ); redirect( STDOUT, FILE );
Your mission: define sub redirect. :-)

Originally posted as a Categorized Question.