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: [1arryb] Memory issue while opening and reading a file: Edit Log



KevinR
Veteran


Apr 3, 2009, 9:42 AM


Views: 3817
Re: [1arryb] Memory issue while opening and reading a file


In Reply To
Hi Fish,

I can understand why you prefer lexically scoped filehandles, but why prefer the 3 arg open? Do they go together?

Larry


Its a security issue. It discussed in the perl open tutorial:

http://perldoc.perl.org/perlopentut.html

Lexical filehandles and the 3 argument style are not bound together except as a "best practices" rule.
-------------------------------------------------


(This post was edited by KevinR on Apr 3, 2009, 9:44 AM)


Edit Log:
Post edited by KevinR (Veteran) on Apr 3, 2009, 9:44 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