Subject: | t0 option doesn't work |
Hi, Sam.
The timeout option of 0 (i.e. -t0) causes scripts to break.
For instance, the following script works fine with a 36000s timeout:
#!/usr/bin/speedy -w -- -t36000
use vars qw($counter);
$counter = 0 unless ($counter);
printf "count: %d$/", ++$counter;
Show quoted text
> ./test.pl
> count: 1
> ./test.pl
> count: 2
> ./test.pl
> count: 3
- but mysteriously breaks (no output) if the timeout is set to 0:
#!/usr/bin/speedy -w -- -t0
[...]
Show quoted text> ./test.pl
> ./test.pl
> ./test.pl
Perl: v5.8.2
OS: SunOS 5.8 sun4u sparc SUNW,Ultra-4 (also reproduced on Linux)
Speedy: 2.22
regards,
chocolateboy