[Moose-commits] r7248 -
MooseX-AttributeHelpers/trunk/lib/MooseX/AttributeHelpers/MethodProvider
brunov at code2.0beta.co.uk
brunov at code2.0beta.co.uk
Wed Jan 7 14:27:49 GMT 2009
Author: brunov
Date: 2009-01-07 06:27:49 -0800 (Wed, 07 Jan 2009)
New Revision: 7248
Modified:
MooseX-AttributeHelpers/trunk/lib/MooseX/AttributeHelpers/MethodProvider/List.pm
Log:
Fixed typos in documentation for List.pm
Modified: MooseX-AttributeHelpers/trunk/lib/MooseX/AttributeHelpers/MethodProvider/List.pm
===================================================================
--- MooseX-AttributeHelpers/trunk/lib/MooseX/AttributeHelpers/MethodProvider/List.pm 2009-01-07 14:24:28 UTC (rev 7247)
+++ MooseX-AttributeHelpers/trunk/lib/MooseX/AttributeHelpers/MethodProvider/List.pm 2009-01-07 14:27:49 UTC (rev 7248)
@@ -161,14 +161,14 @@
print "$found\n"; # prints "bar"
=item B<grep>
-Returns every elemnt of the list that returns true in the anonymous
+Returns every element of the list that returns true in the anonymous
subroutine passed as argument.
my @found = $stuff->filter_options( sub { $_[0] =~ /^b/ } );
print "@found\n"; # prints "bar baz boo"
=item B<map>
-Executes the anonymouse subroutine given as argument sequentially
+Executes the anonymous subroutine given as argument sequentially
for each element of the list.
my @mod_options = $stuff->map_options( sub { $_[0] . "-tag" } );
@@ -181,7 +181,7 @@
print "$option\n"; # prints "bar"
=item B<join>
-Joins every elemnt of the list using the separator given as argument.
+Joins every element of the list using the separator given as argument.
my $joined = $stuff->join_options( ':' );
print "$joined\n"; # prints "foo:bar:baz:boo"
More information about the Moose-commits
mailing list