in reply to
"exit 1" and "exit(1)" are apparently not the same
It tries to find ascii digits, and once it encounters something not an ascii digit it stops, with the default zero. So '(1)' is 0 and so is '(1' or '(' or 'a' but 1(0) is 1.
Comment on
Re: "exit 1" and "exit(1)" are apparently not the same
In Section
Seekers of Perl Wisdom