I'm getting -1 on all platforms and perl versions I tried:
perl -le 'system "no-such-program"; print "$? $^O $]"' [download]
Results:
In reply to Re: system and $? by alexm in thread system and $? by rovf