[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-qa
Subject: Re: Stupid prove tricks
From: Jonathan Rockway <jon () jrock ! us>
Date: 2009-02-26 9:04:32
Message-ID: 87iqmx1sdb.fsf () bar ! jrock ! us
[Download RAW message or body]
* On Wed, Feb 25 2009, Michael G Schwern wrote:
> Here's a kind of crappy way to make TAP read from STDIN.
>
> $ prove --exec 'cat -' test.dummy
> test....
>
> Now you can write TAP and finish with ctrl-d. But test.dummy has to exist.
I just tried this, and it works without test.dummy existing (although it
complains after you type the TAP). This doesn't happen if you use
/dev/null, though (as in prove --exec 'cat -' /dev/null).
--
print just => another => perl => hacker => if $,=$"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic