[Catalyst-commits] r8819 - trunk/examples/CatalystAdvent/root/2008

zarquon at dev.catalyst.perl.org zarquon at dev.catalyst.perl.org
Thu Dec 11 00:59:10 GMT 2008


Author: zarquon
Date: 2008-12-11 00:59:10 +0000 (Thu, 11 Dec 2008)
New Revision: 8819

Modified:
   trunk/examples/CatalystAdvent/root/2008/10.pod
Log:
clarifying and editing for style

Modified: trunk/examples/CatalystAdvent/root/2008/10.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2008/10.pod	2008-12-10 23:54:31 UTC (rev 8818)
+++ trunk/examples/CatalystAdvent/root/2008/10.pod	2008-12-11 00:59:10 UTC (rev 8819)
@@ -24,17 +24,17 @@
  print $c->{config}->{some_values}
  ARRAY(0x800d80)
 
-=head2 When it absolutely has to be an array and can have a length of 1.
+=head2 When it absolutely has to be an array and needs to be able to have a length of 1.
 
-But this is not entireley satisfactory.  Enter L<Moose>:
+Unfortunately this is not entireley satisfactory as sometimes you need to know the length of the array without cumbersome workarounds.  Enter L<Moose>:
 
 
- setup' => sub {
+ setup => sub {
      use Moose::Autobox;
      $_[0]->config->{some_values}{want_an_array} = [ $_[0]->config->{some_values}{want_an_array}->flatten ];
  }
 
-And the problem is fixed!
+Place this solution in MyApp.pm and the problem is fixed!
 
 =head1 ACKNOWLEDGEMENTS
 




More information about the Catalyst-commits mailing list