| Newsgroups |
perl.cvs.perlfaq |
| Message-ID |
<[email protected]> |
cvsuser 02/02/08 14:30:23
Modified: . perlfaq4.pod
Log:
* Chris Nandor's <[email protected]> patch to
'Why don't my <<HERE documents work?'.
the output is much more nice for the paragraph example.
Revision Changes Path
1.14 +2 -2 perlfaq/perlfaq4.pod
Index: perlfaq4.pod
===================================================================
RCS file: /cvs/public/perlfaq/perlfaq4.pod,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -r1.13 -r1.14
--- perlfaq4.pod 31 Jan 2002 04:27:54 -0000 1.13
+++ perlfaq4.pod 8 Feb 2002 22:30:23 -0000 1.14
@@ -1,6 +1,6 @@
=head1 NAME
-perlfaq4 - Data Manipulation ($Revision: 1.13 $, $Date: 2002/01/31 04:27:54 $)
+perlfaq4 - Data Manipulation ($Revision: 1.14 $, $Date: 2002/02/08 22:30:23 $)
=head1 DESCRIPTION
@@ -975,7 +975,7 @@
would deliver us. You are a liar, Saruman, and a corrupter
of men's hearts. --Theoden in /usr/src/perl/taint.c
FINIS
- $quote =~ s/\s*--/\n--/;
+ $quote =~ s/\s+--/\n--/;
A nice general-purpose fixer-upper function for indented here documents
follows. It expects to be called with a here document as its argument.