in reply to Re^2: pipe to less crashin thread pipe to less crash
if (!print LESS $string) { die "cant write: $!" if !$!{EPIPE}; } close LESS; [download]