in reply to Preventing Use of uninitialized value.
It rather depends what you want your code to do instead. Since you are happy for it to die if you can't tail it then let's carry on throwing those exceptions.
die "File $log isn't long enough to process\n" unless defined $line;
|
|---|