Subject: | RequireCheckedSyscalls false positive for opening from a string |
Recent perl versions let you read from a string with a filehandle:
open my $fh, '<', \$scalar;
This open call never returns false - even if $scalar is undef you still
get a filehandle. So the usual '... or die' is not needed, indeed, it is
misleading because it gives the impression that open() will return false on
errors. Perlcritic should not flag a 'Return value of "open" ignored' here.