http://www.perlmonks.org?node_id=695308

amir_e_a has asked for the wisdom of the Perl Monks concerning the following question:

It's probably more of an OS question than a Perl question, but i'll try anyway.

It looks like different Unix flavors produce different errors when trying to run system "no_such_file"

I am trying to build Perl ( rsync://public.activestate.com/perl-current/ ) on Fedora 8, 2.6.24.7-92.fc8.

The test t/op/exec.t is failing on line 97. Apparently, running the following code:

system { "lskdfj" } "lskdfj"';

... on Fedora sets $! to "Not a directory". Perl 5.8 on Ubuntu and Perl 5.10 on Cygwin both set $! to "No such file or directory", which would make the test pass.

Is it the expected behavior on Fedora?