in reply to redirecting output to STDERR and STDOUT

Anonymous Monk,
I'm working on a perl program that calls a module,...

Without telling us what module, it is difficult to help you. Some modules support more than just filename - such as a pre-existing filehandle. The following might work.

Module::Name->method( log => *STDOUT, error => *STDERR );
Replacing the appropriate pieces with the appropriate information. You might also want to look at IO::Tee so that you can get a log and information to the screen but without telling us what module, we will just be guessing.

Cheers - L~R