[Pdx-pm] Testing STDIN
David E. Wheeler
david at kineticode.com
Mon Aug 6 10:33:37 PDT 2007
On Aug 4, 2007, at 15:19, Michael G Schwern wrote:
> 1) close STDIN, though I don't remember why this was necessary
> 2) tie STDIN using TieIn
> 3) Put some stuff on STDIN using write()
> 4) Read from STDIN
> You can steal TieIn for yourself.
It'd be worth it for someone to put this in a module, the way that
someone put your TieOut.pm module in Test::Output.
More information about the Pdx-pm-list