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

download() doesn't close file handle when sent a path #17

Open
brianus opened this issue Jan 21, 2021 · 0 comments
Open

download() doesn't close file handle when sent a path #17

brianus opened this issue Jan 21, 2021 · 0 comments

Comments

@brianus
Copy link

brianus commented Jan 21, 2021

It looks as though the download() sub accepts a file path as its $output argument and if it does it opens the file, but I don't see a close() anywhere in the code. I'm not sure how to close the file since the filehandle created by the module isn't exposed anywhere.

Yeah, I can just use a filehandle instead, but I shouldn't have to if it takes a path..

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