Skip to content

Commit

Permalink
fixed AUTOLOAD example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 13, 2014
1 parent dda00f9 commit b7c377c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Collection.pm
Expand Up @@ -341,7 +341,7 @@ results, similar to L</"pluck">.
# "<h2>Test1</h2><h2>Test2</h2>"
my $collection = Mojo::Collection->new;
push @$collection, Mojo::DOM->new("<h1>$_</h1>") for 1 .. 2;
$collection->find('h1')->type('h2')->prepend_content('Test')->first->root;
$collection->find('h1')->type('h2')->prepend_content('Test')->join;
=head1 OPERATORS
Expand Down

0 comments on commit b7c377c

Please sign in to comment.