if (!print LESS $string) { die "cant write: $!" if !$!{EPIPE}; } close LESS; [download]
In reply to Re^3: pipe to less crash by ikegami in thread pipe to less crash by Anonymous Monk