Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Domain Nodelet?
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 about the Monastery: (3)
As of 2023-03-22 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?