From: Joey Hess Date: Tue, 29 Jan 2008 23:07:20 +0000 (-0500) Subject: avoid temp var X-Git-Tag: 2.30~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9;p=ikiwiki.git avoid temp var --- diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index a42cdc422..be5af84ba 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -378,8 +378,7 @@ sub refresh () { #{{{ if (isinternal($page)) { push @internal, $file; # Preprocess internal page in scan-only mode. - my $content=readfile(srcfile($file)); - preprocess($page, $page, $content, 1); + preprocess($page, $page, readfile(srcfile($file)), 1); } else { push @needsbuild, $file;