Syntactic Confectionery Delight | |
PerlMonks |
Re: redirecting output to STDERR and STDOUTby Limbic~Region (Chancellor) |
on Feb 22, 2005 at 14:22 UTC ( [id://433335]=note: print w/replies, xml ) | Need Help?? |
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. 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
In Section
Seekers of Perl Wisdom
|
|