tal at musicgenome.com
Mon Feb 7 06:36:30 PST 2005
On Mon, 7 Feb 2005 13:12:10 +0200
Yossi.Itzkovich at ecitele.com wrote:
> Why I never get the alarmHandler called even though time is out ?
> my $tail=File::Tail->new(name=>$file, interval=>1);
File::Tail uses sleep calls when interval>0 , those do not mix well with alarm.
you might want to use File::Tail's builtin select instead.
PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69
Key Available at: http://www.hasturkun.com/pub.txt
Any fool can paint a picture, but it takes a wise person to be able to sell it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20050207/863e2a1f/attachment.pgp
More information about the Perl