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
Mistake in perlipc doc, perl 5.10.0 #9333
Comments
From andrew@sundale.netCreated by andrew@sundale.netman perlipc states that: According to The problem is that variable $$ contains the current process pid, Example: print "Cur pid: $$\n"; print "Trying to kill cur pid-based pgrpid.\n"; print "Trying to kill right pgrpid.\n"; sleep(1); #p.pl is a process group leader now - it works #p.pl NOT a leader now - the $$-based code does not work. Perl Info
|
From @smpeters
I made a slight change to the script below. #!/usr/bin/perl print "Cur pid: $$\n"; print "Trying to kill cur pid-based pgrpid.\n"; print "Trying to kill right pgrpid.\n"; sleep(1); ...pops up a warning. steve@picard:~$ echo test | ./p.pl |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgFixed in commit 6fc8325. -zefram |
@iabyn - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been Perl 5.28.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#54412 (status was 'resolved')
Searchable as RT54412$
The text was updated successfully, but these errors were encountered: