From 1ffc765a589a98c325c2337fe59680658659cabc Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 21 Mar 2012 10:05:28 -0700 Subject: [PATCH] test to make sure sweavealike is running --- sweavealike.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweavealike.pm b/sweavealike.pm index 939f803..2056e51 100644 --- a/sweavealike.pm +++ b/sweavealike.pm @@ -62,8 +62,8 @@ sub preprocess { if ($@) { error($@); } - my $output; - if ($param{verbatim}) { + my $output = "sweave output\n\n" + if (exists $param{verbatim}) { $output = $param{code}; $output =~ s/^/> /mg; } -- 2.39.2