In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Mystik Gotan) writes: >What do you mean with piece? I know you're way better than me, but why don't >write your pieces (in which case I think output) to STDOUT. > >Like: >@array = ('piece', 'of', 'you'); >print STDOUT, @array; > >Don't think this really helps you, maybe others do :)
This is not constructive. >>From: Tom Allison <[EMAIL PROTECTED]> >> >>Does anyone know how you can print a Mail::Audit piece of email to STDOUT? Good question. Nowhere does my copy of the Mail::Audit documentation say how to do it. Since it does have a method "pipe", which sends to a program, I looked at the source for it to see if it suggested a better way than doing $mail->pipe("/bin/cat"). And I found an undocumented method, "print". So you can do $mail->print(\*STDOUT); Of course you shouldn't rely on undocumented methods being around forever, but in this case I think it was left out by accident; I'll copy the author. -- Peter Scott http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]