[guest - Thu Oct 30 15:26:21 2003]:
Show quoted text> I want to use cpantest on a system which appears not have outgoing
> mail working. I would like for it to have a feature to simply print
> the message to the terminal, so I can copy/paste to a mail client.
There is an easier way to accomplish this, for which functionality already exists. It will
allow you to accomplish what you want, but if you find it somehow unsuitable, I'd be
interested in hearing about it.
The solution is to use the read() and write() methods of Test-Reporter-1.20, which were
specifically designed for situations such as you describe (no local MTA, outbound port
25 blocked). Details on this is in the Test-Reporter-1.20 POD under the 'write and read'
entry of the 'METHODS' section.
The only caveat is that this functionality is available only progamtically via Test::Reporter
and not by cpantest, the script.