http://qs1969.pair.com?node_id=695405


in reply to Re: system "no_such_file" returns a different error on Fedora
in thread system "no_such_file" returns a different error on Fedora

A good point, although it seems to work like this on my Fedora machine with this minimal program:

system { "lskdfj" } "lskdfj"; printf "# \$! eq %d, '%s'\n", $!, $!; # prints # $! eq 20, 'Not a dire +ctory'

Another minor problem i can think of is the "random" command "lskdfj". It's paranoid thinking, but what if the user happens to have a file called /bin/lskdfj ? Maybe it should be checked with -e or something.

I'd bring it up on perl5-porters, but i am trying to subscribe and not receiving the confirmation email.