From: Dave Rolsky Date: Mon, 6 Jul 2009 19:43:48 +0000 (-0500) Subject: Add slide on MUTC droppings X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee2e815e23c9f316581a25c7056c007938b26755;p=gitmo%2Fmoose-presentations.git Add slide on MUTC droppings --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index 6730ca9..02cc02c 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -2819,7 +2819,6 @@ coerce 'My::DateTime', -

Using Types with Attributes

@@ -2840,6 +2839,24 @@ has favorite_numbers => (
+

More Droppings

+ + + +
package Person;
+
+use Moose;
+use Moose::Util::TypeConstraints;
+
+subtype ...;
+
+no Moose;
+no Moose::Util::TypeConstraints;
+
+ +

Typed Methods (Low-tech)

package Person;