From: Brian Manning Date: Sat, 10 May 2008 06:53:52 +0000 (+0000) Subject: - fixed the class name in the examples so that all of the class names match X-Git-Tag: 0_55~186 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fbde43ee6b8dda96fb98aba39d6e2d73a168ff8c;p=gitmo%2FMoose.git - fixed the class name in the examples so that all of the class names match each other --- diff --git a/lib/Moose/Cookbook/Snack/ArrayRef.pod b/lib/Moose/Cookbook/Snack/ArrayRef.pod index 744b887..9f986c7 100644 --- a/lib/Moose/Cookbook/Snack/ArrayRef.pod +++ b/lib/Moose/Cookbook/Snack/ArrayRef.pod @@ -27,7 +27,7 @@ L classes. my $orange = Fruit->new(name => 'orange', species => 'C. sinensis'); my $apple = Fruit->new(name => 'apple', species => 'M. domestica'); my @fruit = ($apple, $orange); - my $store = ProduceStore->new(fruit_aisle => \@fruit); + my $store = ProduceStoreArray->new(fruit_aisle => \@fruit); =head1 DESCRIPTION @@ -50,7 +50,7 @@ store's C C attribute, we pass an array containing both objects by reference to the C attribute: my @fruit = ($apple, $orange); - my $store = ProduceStore->new(fruit_aisle => \@fruit); + my $store = ProduceStoreArray->new(fruit_aisle => \@fruit); Or you can pass an anonymous array to the C attribute as well. If you created two new objects, C<$grape> and C<$tomato>, and assigned them to