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

When does Perl close a filehandle? #1258

Closed
szabgab opened this issue Mar 26, 2017 · 0 comments
Closed

When does Perl close a filehandle? #1258

szabgab opened this issue Mar 26, 2017 · 0 comments
Labels
docs Documentation issue (primary issue type)

Comments

@szabgab
Copy link
Contributor

szabgab commented Mar 26, 2017

I just bumped into this problem in thread: http://www.mail-archive.com/perl6-users@perl.org/msg03594.html but it is not over yet for my application. I still get the same error even after replacing the slurp-rest calls by plain slurp calls. There are other calls to open so I looked at https://docs.perl6.org/routine/open but as I can see nothing related to close is mentioned there. I think it would be better to mention when Perl closes the file automatically and when does it not.

I also went over https://docs.perl6.org/type/IO$COLON$COLONHandle where close is described, but I think an explicit mention on how files are closed implicitly would be welcome.

@coke coke added the docs Documentation issue (primary issue type) label Mar 28, 2017
@briandfoy briandfoy changed the title When does Perl cloes a filehandle? When does Perl close a filehandle? Apr 3, 2017
@szabgab szabgab closed this as completed Apr 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type)
Projects
None yet
Development

No branches or pull requests

2 participants