From: Shawn M Moore Date: Sun, 21 Jun 2009 19:45:06 +0000 (-0400) Subject: augment requires "sub" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5e511dcf91b953dd4e2f688b588954f12d8e2973;p=gitmo%2Fmoose-presentations.git augment requires "sub" --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index e2d373d..8def0cd 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -2397,12 +2397,12 @@ sub xml { '<doc>' . inner() . '</doc> package Report; extends 'Document'; -augment xml => { title() . inner() . summary() }; +augment xml => sub { title() . inner() . summary() }; package TPSReport; extends 'Report'; -augment xml => { tps_xml() . inner() }; +augment xml => sub { tps_xml() . inner() };