From: Shawn M Moore Date: Fri, 31 Jul 2009 02:25:44 +0000 (-0400) Subject: Fix location recipe X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cfb085e71c9d53b3567095b6a326e3f409488dc8;p=gitmo%2FMoose.git Fix location recipe --- diff --git a/author/extract-inline-tests b/author/extract-inline-tests index 77fb246..c1194aa 100755 --- a/author/extract-inline-tests +++ b/author/extract-inline-tests @@ -86,7 +86,7 @@ use File::Find::Rule; use Test::Inline; -my $target = 't/000_recipes'; +my $target = 'tests/000_recipes'; for my $t_file ( File::Find::Rule->file->name(qr/^moose_cookbook_\.t$/)->in($target) ) { unlink $t_file or die "Cannot unlink $t_file: $!"; diff --git a/lib/Moose/Cookbook/Basics/Recipe1.pod b/lib/Moose/Cookbook/Basics/Recipe1.pod index bd1239b..98d6a66 100644 --- a/lib/Moose/Cookbook/Basics/Recipe1.pod +++ b/lib/Moose/Cookbook/Basics/Recipe1.pod @@ -163,7 +163,7 @@ required, and calling C without them will throw an error. From here on, we can use C<$point> and C<$point3d> just as you would any other Perl 5 object. For a more detailed example of what can be done, you can refer to the -F test file. +F test file. =head2 Moose Objects are Just Hashrefs diff --git a/lib/Moose/Cookbook/Basics/Recipe2.pod b/lib/Moose/Cookbook/Basics/Recipe2.pod index 832dea7..a44bea3 100644 --- a/lib/Moose/Cookbook/Basics/Recipe2.pod +++ b/lib/Moose/Cookbook/Basics/Recipe2.pod @@ -157,7 +157,7 @@ method, which accepts named parameters. ); And as with the first recipe, a more in-depth example can be found in -the F test file. +the F test file. =head1 CONCLUSION diff --git a/lib/Moose/Cookbook/Basics/Recipe3.pod b/lib/Moose/Cookbook/Basics/Recipe3.pod index 394e09c..4d1cbe7 100644 --- a/lib/Moose/Cookbook/Basics/Recipe3.pod +++ b/lib/Moose/Cookbook/Basics/Recipe3.pod @@ -182,7 +182,7 @@ ensure that is has the correct value for its C attribute. As with all the other recipes, B can be used just like any other Perl 5 class. A more detailed example of its usage can be found -in F. +in F. =head1 CONCLUSION diff --git a/lib/Moose/Cookbook/Basics/Recipe4.pod b/lib/Moose/Cookbook/Basics/Recipe4.pod index 4e3747e..8a6034c 100644 --- a/lib/Moose/Cookbook/Basics/Recipe4.pod +++ b/lib/Moose/Cookbook/Basics/Recipe4.pod @@ -262,7 +262,7 @@ arguments to C. Instead, Moose simply passes the same parameters that were passed to the method. A more detailed example of usage can be found in -F. +F. =head1 CONCLUSION diff --git a/lib/Moose/Cookbook/Basics/Recipe9.pod b/lib/Moose/Cookbook/Basics/Recipe9.pod index 5d4c54a..0290003 100644 --- a/lib/Moose/Cookbook/Basics/Recipe9.pod +++ b/lib/Moose/Cookbook/Basics/Recipe9.pod @@ -233,7 +233,7 @@ If you'd like to learn more about overloading, please read the documentation for the L pragma. To see all the code we created together, take a look at -F. +F. =head1 NEXT STEPS