CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [hwnd] Reading results back that were dumped?: Edit Log



FishMonger
Veteran / Moderator

Apr 15, 2013, 8:22 AM


Views: 1109
Re: [hwnd] Reading results back that were dumped?


Quote
# Close if open handles from previous?

What "previous"? Lexical filehandles will automatically be closed when they go out of scope.

Your close_handles sub doesn't make sense. Just use the -r file test to verify if the file is readable and use proper error handling on all open calls.


(This post was edited by FishMonger on Apr 15, 2013, 8:24 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Apr 15, 2013, 8:24 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives