summaryrefslogtreecommitdiff
path: root/pod/perlfaq7.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlfaq7.pod')
-rw-r--r--pod/perlfaq7.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod
index 1047b28634..a1d60f84d5 100644
--- a/pod/perlfaq7.pod
+++ b/pod/perlfaq7.pod
@@ -339,9 +339,9 @@ IO::File modules, both part of the standard Perl distribution.
To pass regexps around, you'll need to either use one of the highly
experimental regular expression modules from CPAN (Nick Ing-Simmons's
-Regexp or Ilya Zakharevich's Devel::Regexp), pass around strings
-and use an exception-trapping eval, or else be be very, very clever.
-Here's an example of how to pass in a string to be regexp compared:
+Regexp or Ilya Zakharevich's Devel::Regexp), pass around strings and
+use an exception-trapping eval, or else be very, very clever. Here's
+an example of how to pass in a string to be regexp compared:
sub compare($$) {
my ($val1, $regexp) = @_;