-----BEGIN PGP SIGNED MESSAGE-----

Helo,

On Wednesday 25 August 2004 02:47, Ovid wrote:
> --- Peter Kay <[EMAIL PROTECTED]> wrote:
> > Ok, what's the elegent way to ignore/dispose of the output the tested
> > module produces?
>
> What I do whenever this happens is to move the printing code to a
> subroutine or method and override that to capture the output.  So if I
> have something like this:

[snip a lot]

I use the same technique quite frequently (but didn't know about 
Sub::Override :o).

Best wishes,

Tels

- -- 
 Signed on Wed Aug 25 18:56:54 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "I can imagine what you're thinking though: this girl keeps her brains in
 her backside! But actually only the more primitive parts of my brain are
 in my butt. The more interesting parts are kept in a PC - my spinal cord
 is actually an RS232 lead!" - Lucy, the OrangUtan Robot Girl
 http://tinyurl.com/3fv6z

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBQSzE13cLPEOTuEwVAQHAVwf+P+IkU60930MD+zOGyx8GjoXDP0aLmk/+
aKnVtVU+dTxh/wF9iuUjd5jG/f/M6R/1jeMAOt0gpiOomyWTAQBlL8BCF23jDhyn
h39p4GmWxuBiznZhJr1FkWeGq9sWtqosNF2AUVKzixQmQqQkeUmvCrWWCL/FYV6X
H13SJ+P2EPWV9MyPEuL/lx6Pw3IrAgeHLUhqLfxMDqxEqD7IdEL46EQnYPk/+3Qs
lMEH8B7pgW1b9QOOYdR8f9bQAedmM+arMc2TwZr5vU/TbsTHYc7JCB5tMkFLRNKh
p+4usn+36mtwFHSgW1Pe2RpiK4EcZ1//tdUxKxuvcERnCYq5LBfrJw==
=ePhp
-----END PGP SIGNATURE-----

Reply via email to