FreeBSD.software
Home/devel/p5-PerlIO-via-Timeout

p5-PerlIO-via-Timeout

0.32_1

PerlIO layer to add read and write timeouts to a handle

This package implements a PerlIO layer, that adds read / write timeout. This can be useful to avoid blocking while accessing a handle (file, socket, ...), and fail after some time. The timeout is implemented by using <select> on the handle before reading/writing. WARNING the handle won't timeout if you use sysread or syswrite on it, because these functions works at a lower level. However if you're trying to implement a timeout for a socket, see IO::Socket::Timeout that implements exactly that.

Origin: devel/p5-PerlIO-via-Timeout
Category: devel
Size: 16.0KiB
License: ART10, GPLv1+
Maintainer: pi@FreeBSD.org
Dependencies: 1 packages
Required by: 1 packages
$pkg install p5-PerlIO-via-Timeout

Dependencies (1)

Required By (1 packages)

More in devel