[WM] Using print to output from <{perl }> blocks?

Mark McLoughlin mark.skynet.ie
Wed Feb 7 18:15:49 GMT 2001


How's it going again,

	Just a slight bug in the <{perlout }> code - a "\n" is added
to the end of the output..

	Miniscule patch below ;)

Cheers,
Mark

--- PerlCode.pm.old     Wed Feb  7 18:02:57 2001
+++ PerlCode.pm Wed Feb  7 18:05:22 2001
@@ -81,6 +81,7 @@
        /^${PipeDelimiter}$/o and last;
        $ret .= $_;
       }
+      chomp( $ret );
     }
   }







More information about the Webmake-talk mailing list