Skip to content
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

Calling lines() in two separate for loops causes $*ARGFILES to open standard input #4313

Closed
p6rt opened this issue Jun 10, 2015 · 4 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Jun 10, 2015

Migrated from rt.perl.org#125380 (status was 'resolved')

Searchable as RT125380$

@p6rt
Copy link
Author

p6rt commented Jun 10, 2015

From @hoelzro

In the attached script, I use two for lines() -> $line loops. After $*ARGFILES is exhausted by the first loop, the second has $*ARGFILES open standard input, which I feel is a bug.

@p6rt
Copy link
Author

p6rt commented Jun 10, 2015

From @hoelzro

test.p6

@p6rt
Copy link
Author

p6rt commented Jun 11, 2015

From @hoelzro

Fixed in rakudo d58e397.

@p6rt p6rt closed this as completed Jun 11, 2015
@p6rt
Copy link
Author

p6rt commented Jun 11, 2015

@hoelzro - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant