From: Dave Rolsky Date: Thu, 17 Jun 2010 19:22:04 +0000 (-0500) Subject: Add slide on namespace::autoclean. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=511c92348bfa42fc4f700c2faf92a851b44654b2;p=gitmo%2Fmoose-presentations.git Add slide on namespace::autoclean. Tweak font size --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index 856090b..10766e6 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -1142,7 +1142,20 @@ use Moose; ... -no Moose; +no Moose; + +# false +Person->can('extends'); + + +
+

Cleaning Up Moose Droppings

+ +
package Person;
+use namespace::autoclean;
+use Moose;
+
+...
 
 # false
 Person->can('extends');
@@ -1163,7 +1176,7 @@ Person->can('extends');

Immutability

package Person;