Change 15868 by jhi@alpha on 2002/04/11 20:41:23

        FAQ patch from mjd regarding Tie::File.

Affected files ...

..... //depot/perl/pod/perlfaq5.pod#45 edit

Differences ...

==== //depot/perl/pod/perlfaq5.pod#45 (text) ====
Index: perl/pod/perlfaq5.pod
--- perl/pod/perlfaq5.pod.~1~   Thu Apr 11 14:45:06 2002
+++ perl/pod/perlfaq5.pod       Thu Apr 11 14:45:06 2002
@@ -757,11 +757,12 @@
 
     @lines = <INPUT>;
 
-you should think long and hard about why you need everything loaded
-at once.  It's just not a scalable solution.  You might also find it
-more fun to use the standard DB_File module's $DB_RECNO bindings,
-which allow you to tie an array to a file so that accessing an element
-the array actually accesses the corresponding line in the file.
+you should think long and hard about why you need everything loaded at
+once.  It's just not a scalable solution.  You might also find it more
+fun to use the standard Tie::File module, or the DB_File module's
+$DB_RECNO bindings, which allow you to tie an array to a file so that
+accessing an element the array actually accesses the corresponding
+line in the file.
 
 You can read the entire filehandle contents into a scalar.
 
End of Patch.

Reply via email to