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: Intermediate: Re: [joeferns79] Error reading files from dir: Edit Log



Kenosis
User

Feb 6, 2014, 9:28 AM


Views: 13830
Re: [joeferns79] Error reading files from dir

I think it's one of those mornings. It's not necessary to use an array. A hash of file handles handles this case.

Fixed.

The close at the end of the script is unnecessary, since all opened files will be closed when the script's done. Included for good form.


(This post was edited by Kenosis on Feb 6, 2014, 9:30 AM)


Edit Log:
Post edited by Kenosis (User) on Feb 6, 2014, 9:30 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