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
perlio bug ? #4314
Comments
From me-01@ton.iguana.beRun this from the commandline: perl -wle 'print $]; sub foo { local (*A, *B); pipe(A,B); return fileno(A)}; sub bar { local *BOE; print open(BOE, "<&=" . foo) ? "bad" : "good"}; bar; close STDIN; bar' Tested on two systems this gives: 5.006 Written formatted, the code is: print $]; sub foo { sub bar { bar; the filehandles created in foo should be closed when foo is left, It however succeeds from perl 5.7 on for filedescriptors 0, 1 and 2 Perl Info
|
From @jkeenanOn Sat Aug 11 12:29:40 2001, me-01@ton.iguana.be wrote:
Persists in Perl 5.14.2: $ perl -wle 'print $]; sub foo { local (*A, *B); pipe(A,B); return |
From zefram@fysh.orgLeaving low-numbered file descriptors open in these circumstances is -zefram |
From @xsawyerxOn Tue, 16 Jan 2018 02:12:25 -0800, zefram@fysh.org wrote:
Can you please expand on "intentional behavior"? |
Migrated from rt.perl.org#7515 (status was 'open')
Searchable as RT7515$
The text was updated successfully, but these errors were encountered: