Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: system and $?

by alexm (Chaplain)
on Aug 26, 2009 at 12:11 UTC ( #791317=note: print w/replies, xml ) Need Help??


in reply to system and $?

I'm getting -1 on all platforms and perl versions I tried:

perl -le 'system "no-such-program"; print "$? $^O $]"'

Results:

  • -1 hpux 5.006001
  • -1 solaris 5.008008
  • -1 dec_osf 5.006001
  • -1 linux 5.006001
  • -1 linux 5.008008
  • -1 linux 5.010000

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://791317]
help
Chatterbox?
[SuicideJunkie]: Blergh. Trying to work into low level C code, stuff that would have been so easy with a regex.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2016-12-07 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.