From: Mike Taylor Date: Tue, 19 Sep 2006 16:32:34 +0000 (+0000) Subject: Simplify by eliminating $text temporary X-Git-Tag: CPAN-v1.02~54^2~1046 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=ed8ecac4a3873605afb2c6c95444937e03fa4431;hp=69e79c39be36ac1857c299b720b8f16037acb694 Simplify by eliminating $text temporary --- diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index a5fefe8..1cd4c6e 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -1,4 +1,4 @@ -%# $Id: layout.mc,v 1.3 2006-09-19 11:13:58 mike Exp $ +%# $Id: layout.mc,v 1.4 2006-09-19 16:32:34 mike Exp $ <%args> $debug => undef $title @@ -8,9 +8,6 @@ $component use lib "/usr/local/src/cvs/irspy/lib"; use ZOOM::IRSpy; -<%perl> -my $text = $m->scomp($component, %ARGS); - <& /chrome/head.mc, title => $title &> <& /chrome/bannerrow.mc, title => $title &> @@ -26,7 +23,7 @@ my $text = $m->scomp($component, %ARGS);
- <% $text %> +<& $component, %ARGS &>
<& /chrome/tail.mc &>