From: Shawn M Moore Date: Sat, 24 May 2008 18:46:47 +0000 (+0000) Subject: Whitespace tweaks. Gotta make those => line up X-Git-Tag: 0_55~151 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=56a7273f1bcad98946a60d23e73d4847f9dfda86;p=gitmo%2FMoose.git Whitespace tweaks. Gotta make those => line up --- diff --git a/lib/Moose/Cookbook/Recipe21.pod b/lib/Moose/Cookbook/Recipe21.pod index 7ac3b4c..7196f0f 100644 --- a/lib/Moose/Cookbook/Recipe21.pod +++ b/lib/Moose/Cookbook/Recipe21.pod @@ -26,13 +26,13 @@ Moose::Cookbook::Recipe21 - The meta-attribute example has url => ( metaclass => 'Labeled', - isa => 'Str', - is => 'rw', - label => "The site's URL", + is => 'rw', + isa => 'Str', + label => "The site's URL", ); has name => ( - is => 'rw', + is => 'rw', isa => 'Str', ); @@ -174,9 +174,9 @@ it. has url => ( metaclass => 'Labeled', - isa => 'Str', - is => 'rw', - label => "The site's URL", + is => 'rw', + isa => 'Str', + label => "The site's URL", ); Ah ha! Now we're using the metaclass. We're adding a new attribute, C, to @@ -204,7 +204,7 @@ C<"The site's URL">. We can access this meta-attribute with: Well, back to the code. has name => ( - is => 'rw', + is => 'rw', isa => 'Str', );