-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is $! supposed to be set after system? #172
Comments
From @vlbrownIs $! supposed to be set after system? From p. 230 of the Camel (2nd edition) one might gather this and a But I am thinking it's a mis-assumption and system() (unlike, say, This should be _explicitly_ documented, especially in light of the However, one of the clp-mod members did some playing with a C program Is this a bug? (It's either a bug in the book, i.e. Programming Perl should document _Or_ system() is supposed to set $! and I can't make it do so. If it's a documentation bug only I'll follow up with that. If it is a
At 21:06 -0600 07/07/1999, Tom Christiansen wrote in comp.lang.perl.moderated:
One of the other folks on the list quoted the docs thusly:
So perhaps $! is not meant to reflect the result of system()and the However, another clp-mod member tried this: At 19:00 -0700 07/07/1999, Dirk Myers wrote:
--- snip here for test.c --- #include <stdlib.h> void main(void) { --- snip for test.pl --- $rv = system "./test" ; Perl Info
|
Migrated from rt.perl.org#977 (status was 'resolved')
Searchable as RT977$
The text was updated successfully, but these errors were encountered: