2 eval { require Config; import Config };
4 print "1..0 # Skip: no Config\n";
15 print "ping $count\n";
21 while ($line = <STDIN>) {
22 print "reader: $line";
24 print "End of input in reader\n";
29 This test starts up a thread to read and echo whatever is typed on
30 the keyboard/stdin, line by line, while the main thread counts down
31 to zero. The test stays running until both the main thread has
32 finished counting down and the I/O thread has seen end-of-file on
36 $r = new Thread \&counter;
46 print "ping $count\n";