[svn:perlfaq] r11394 - perlfaq/trunk
[email protected] Sun, 8 Jun 2008 08:28:40 -0700 (PDT)
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
Author: rafael
Date: Sun Jun 8 08:28:37 2008
New Revision: 11394
Modified:
perlfaq/trunk/perlfaq5.pod
Log:
Small title patch by Renée Baecker to make "perldoc -q slurp" return
a meaningful answer.
Modified: perlfaq/trunk/perlfaq5.pod
==============================================================================
--- perlfaq/trunk/perlfaq5.pod (original)
+++ perlfaq/trunk/perlfaq5.pod Sun Jun 8 08:28:37 2008
@@ -979,7 +979,7 @@
for $fh (FH1, FH2, FH3) { print $fh "whatever\n" }
-=head2 How can I read in an entire file all at once?
+=head2 How can I read in an entire file all at once? How can I slurp a file?
X<slurp> X<file, slurping>
You can use the File::Slurp module to do it in one step.