From: Shawn M Moore Date: Wed, 22 Sep 2010 20:18:32 +0000 (-0700) Subject: Fix bare >s X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2Fmoose-presentations.git;a=commitdiff_plain;h=d7deb8a91eda73a9252643bc0b221dd6e5d34482 Fix bare >s --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index 63baef5..e2e889a 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -1528,7 +1528,7 @@ use Moose; with 'HasSize'; -has size => ( is => 'ro' ); +has size => ( is => 'ro' );
@@ -1542,7 +1542,7 @@ requires 'size'; package Shirt; use Moose; -has size => ( is => 'ro' ); +has size => ( is => 'ro' ); with 'HasSize';
@@ -1564,9 +1564,9 @@ with 'HasSize';
package Comparison;
 use Moose;
 
-has [ 'left', 'right' ] => (
-    is   => 'ro',
-    does => 'Comparable',
+has [ 'left', 'right' ] => (
+    is   => 'ro',
+    does => 'Comparable',
 );
 
@@ -1863,7 +1863,7 @@ has bank => ( sub _build_bank { my $self = shift; return Bank->new( - name => 'Spire FCU' ); + name => 'Spire FCU' ); } @@ -1930,7 +1930,7 @@ has shoe_size => (
has shoes => (
     is      => 'ro',
     lazy    => 1,
-    builder => '_build_shoes',
+    builder => '_build_shoes',
 );
 
 sub _build_shoes {
@@ -2003,7 +2003,7 @@ has account => (
   
package Person;
 use Moose;
 
-has shoe_size => (
+has shoe_size => (
     is       => 'ro',
     init_arg => 'foot_size',
 );
@@ -2021,7 +2021,7 @@ print $person->shoe_size;
package Person;
 use Moose;
 
-has shoes => (
+has shoes => (
     is       => 'ro',
     init_arg => undef,
 );
@@ -3021,9 +3021,9 @@ coerce ArrayOfInt
 
 use MyApp::Types qw( ArrayOfInt );
 
-has transaction_history => (
-    is  => 'rw',
-    isa => ArrayOfInt,
+has transaction_history => (
+    is  => 'rw',
+    isa => ArrayOfInt,
 );
@@ -3207,7 +3207,7 @@ $alice->friend($bob);
has lungs => ( is => 'ro', - isa => 'Lungs', + isa => 'Lungs', handles => [ 'inhale', 'exhale' ], );