$ env LC_ALL=C PATH="" /usr/bin/perl -E'open my $fh, "-|", $_ and say "success" or say $! for "ls", "/bin/ls"' No such file or directory success