| Subject: | [svn:perlfaq] r11394 - perlfaq/trunk |
|---|---|
| From: | rafael@xxxxxxxxxxxx |
| Date: | Sun, 8 Jun 2008 08:28:40 -0700 (PDT) |
| Newsgroups: | perl.cvs.perlfaq |
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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [svn:perlfaq] r11390 - perlfaq/trunk, comdog |
|---|---|
| Next by Date: | [svn:perlfaq] r11397 - perlfaq/trunk, comdog |
| Previous by Thread: | [svn:perlfaq] r11390 - perlfaq/trunk, comdog |
| Next by Thread: | [svn:perlfaq] r11397 - perlfaq/trunk, comdog |
| Indexes: | [Date] [Thread] [Top] [All Lists] |