N
Neil Shadrach
# perl -we 'die q(KO) unless open(my $h,q(tail -f logfile1.txt|));while (<$h>) { print "L:$_"; }'
Can I easily break out of the 'while' loop if nothing is there to be read
or do I need to use a lower level read function to be able to do this?
Can I easily break out of the 'while' loop if nothing is there to be read
or do I need to use a lower level read function to be able to do this?