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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: system "no_such_file" returns a different error on Fedora
by moritz (Cardinal) on Jul 03, 2008 at 09:04 UTC | |
by amir_e_a (Hermit) on Jul 03, 2008 at 10:41 UTC | |
by moritz (Cardinal) on Jul 03, 2008 at 10:48 UTC | |
Re: system "no_such_file" returns a different error on Fedora
by chromatic (Archbishop) on Jul 03, 2008 at 16:53 UTC | |
by amir_e_a (Hermit) on Jul 03, 2008 at 17:47 UTC |
Back to
Seekers of Perl Wisdom