in reply to IO::MultiHandle - Operate on multiple file handles as one


That is a nice idea and a nice implementation. However, it has some problems.

The my $fh won't work with the postfix for. You would have to do something like this instead:      $_->$AUTOLOAD(@args) for @$self;

Also, the following won't work because MultiHandle->new() doesn't return a GLOB:     print $mfh "A line of output.\n";

The following does work but it isn't as pretty:     $mfh->print("A line of output.\n");

--
John.