Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: system "no_such_file" returns a different error on Fedora

by amir_e_a (Hermit)
on Jul 03, 2008 at 17:47 UTC ( #695405=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://695405]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-10-27 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (257 votes). Check out past polls.

    Notices?