diff options
author | brian d foy <bdfoy@cpan.org> | 2010-01-13 17:19:25 +0100 |
---|---|---|
committer | brian d foy <bdfoy@cpan.org> | 2010-01-13 17:19:25 +0100 |
commit | ac0367249e563330db9a9a04f778eae30defbab0 (patch) | |
tree | 7f99b67d93a06be0fb7aa702db8dfd4e24ff501d /pod/perldbmfilter.pod | |
parent | 8d2e243f5816f9d2c4247f962523e4220e4a9ce8 (diff) | |
download | perl-ac0367249e563330db9a9a04f778eae30defbab0.tar.gz |
* Em dash cleanup in pod/
I looked at all the instances of spaces around -- and in most cases
converted the sentences to use more appropriate punctuation. In
general, the -- in the perl docs seem to be there only to make
really complicated and really long sentences.
I didn't look at the closed em-dashes. They probably have the same
sentence-complexity problem.
I left some open em-dashes in place. Those are the ones used in
lists.
Diffstat (limited to 'pod/perldbmfilter.pod')
-rw-r--r-- | pod/perldbmfilter.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perldbmfilter.pod b/pod/perldbmfilter.pod index f145b8aa1b..e58ce2013b 100644 --- a/pod/perldbmfilter.pod +++ b/pod/perldbmfilter.pod @@ -61,7 +61,7 @@ When each filter is called by Perl, a local copy of C<$_> will contain the key or value to be filtered. Filtering is achieved by modifying the contents of C<$_>. The return code from the filter is ignored. -=head2 An Example -- the NULL termination problem. +=head2 An Example: the NULL termination problem. DBM Filters are useful for a class of problems where you I<always> want to make the same transformation to all keys, all values or both. @@ -118,7 +118,7 @@ self-explanatory. Both "fetch" filters remove the terminating NULL, and both "store" filters add a terminating NULL. -=head2 Another Example -- Key is a C int. +=head2 Another Example: Key is a C int. Here is another real-life example. By default, whenever Perl writes to a DBM database it always writes the key and value as strings. So when @@ -154,7 +154,7 @@ Here is a DBM Filter that does it: The code above uses DB_File, but again it will work with any of the DBM modules. -This time only two filters have been used -- we only need to manipulate +This time only two filters have been used; we only need to manipulate the contents of the key, so it wasn't necessary to install any value filters. |