Rewrite the tests section of Makefile to be less redundant
[p5sagit/p5-mst-13.2.git] / pod / perlutil.pod
index 7b56a17..be7a345 100644 (file)
@@ -97,7 +97,7 @@ Similarly, F<s2p> converts F<sed> scripts to Perl programs. F<s2p> run
 on C<s/foo/bar> will produce a Perl program based around this:
 
     while (<>) {
-        chop;
+        chomp;
         s/foo/bar/g;
         print if $printit;
     }