http://www.perlmonks.org?node_id=575285


in reply to Reading from a Named Pipe

alarm will interrupt a read.