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
open on localized *F pb #5828
Comments
From pixel@mandrakesoft.comCreated by pixel@localhost.localdomainmy $fh = do { local *F; open(F, '/etc/passwd'); *F }; doesn't work in 5.8.0, whereas it works in 5.6.1, and the following my $fh = do { local *F; open(*F, '/etc/passwd'); *F }; Perl Info
|
From @rgsPixel (via RT) wrote:
Apparently this only occurs with ithreads. |
From nick@ing-simmons.netPixel <perl5-porters@perl.org> writes:
And open(my $fh,'/etc/passwd'); should work both places as well. The accepted thing to do was to return a reference to the glob. IIRC we "fixed" a feature that localized globs were not being de-localized
|
From zefram@fysh.orgThis was fixed, apparently unintentionally, by commit -zefram |
From @jkeenanConfirmed; closing. -- |
@jkeenan - Status changed from 'open' to 'resolved' |
From @cpansproutOn Tue, 16 Jan 2018 05:28:02 -0800, jkeenan wrote:
But what about adding a test? -- Father Chrysostomos |
From zefram@fysh.orgTest added in commit c7a9a25. -zefram |
Migrated from rt.perl.org#16113 (status was 'resolved')
Searchable as RT16113$
The text was updated successfully, but these errors were encountered: