in reply to Reading from a filehandle written to by a subroutine?

You could try FileHandle:
use FileHandle; ... $fh = new FileHandle; $fh->open("> file") or die $!; $object->cat($fh, $target);


holli, /regexed monk/