Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
a few more pluck examples
  • Loading branch information
kraih committed Jul 7, 2012
1 parent e6c0ff8 commit f00d57a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

3.05 2012-07-07
3.05 2012-07-08
- Improved documentation.

3.04 2012-07-07
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/ByteStream.pm
Expand Up @@ -284,7 +284,7 @@ Alias for L<Mojo::Util/"slurp">.
Turn bytestream into L<Mojo::Collection>.
b('a,b,c')->split(',')->map(sub { $_->quote })->join("\n")->say;
b('a,b,c')->split(',')->pluck('quote')->join(',')->say;
=head2 C<to_string>
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/DOM.pm
Expand Up @@ -708,7 +708,7 @@ Alias for L<Mojo::DOM::HTML/"tree">.
Element type.
# List types of child elements
$dom->children->each(sub { say $_->type });
say $dom->children->pluck('type');
=head2 C<xml>
Expand Down

0 comments on commit f00d57a

Please sign in to comment.