From 99f8ccd6cddc6fa9a021d4118e6a706a19e474b1 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 10 Sep 2015 15:46:11 +0100 Subject: maybe I got deps working I'd still like to make the whole thing more readable, though --- lib/WebCoso/Maker/HTML.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/WebCoso/Maker/HTML.pm') diff --git a/lib/WebCoso/Maker/HTML.pm b/lib/WebCoso/Maker/HTML.pm index 414fe2b..d2803af 100644 --- a/lib/WebCoso/Maker/HTML.pm +++ b/lib/WebCoso/Maker/HTML.pm @@ -1,7 +1,7 @@ # -*- mode: perl6 -*- use WebCoso::Maker; class WebCoso::Maker::HTML does WebCoso::Maker['xhtml','html'] { - method process-contents(:src($xhtml),:@deps) { - return "{$xhtml} decorated"; + method process-contents($xhtml) { + return "{$xhtml.contents} decorated"; } } -- cgit v1.2.3