On Sep 11, 2006, at 9:58 AM, Ovid wrote:
----- Original Message ----
From: Michael G Schwern <[EMAIL PROTECTED]>
Ovid wrote:
- Corrected the grammar to allow for a plan of
"1..0" (infinite
stream).
1..0 is currently used as part of the "skip all" syntax.
1..0 # skip Because I said so
Perhaps an infinite stream is just "1.." ?
Ah, I misremembered it.
It would be nice to have the plan indicate that an infinite stream
is forthcoming. That would make it easier to write custom
harnesses for it.
Sorry if I'm jumping into this thread out of context. I hadn't seen
any discussion of infinite streams before now.
How is that infinite stream different from the no_plan case? Is it
truly infinite or just undetermined? That is, are you trying to code
for the following use case?
use Test::More test => 'Inf';
use LWP::Simple qw(get);
while (1) {
ok(get('http://www.example.com/'));
sleep 60;
}
or is it something else entirely?
Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)