2010/5/11 Weizhong Dai <weizhong....@gmail.com>: > Hi all, > > --------------------------------- > $pid = open(README, "program arguments |") or die "Couldn't fork: $!\n"; > while (<README>) { > # ... > } > close(README) > ---------------------------------- > > my problem is: I read from README, but if waiting for next input is > timeout, end reading. Is there any timer or method I could use for > this purpose? >
Just a reference: http://www.perlmonks.org/?node_id=575284 -- Tech support agency in China http://duxieweb.com/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/