Skip to content

Commit

Permalink
fixed typo in recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2013
1 parent 9c5776f commit 0eaddc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -986,7 +986,7 @@ use L<Mojo::UserAgent::Transactor> generators.

# Add "stream" generator
my $ua = Mojo::UserAgent->new;
$ua->transactor->add_generator(stream = sub {
$ua->transactor->add_generator(stream => sub {
my ($transactor, $tx, $path) = @_;
$tx->req->content->asset(Mojo::Asset::File->new(path => $path));
});
Expand Down

0 comments on commit 0eaddc6

Please sign in to comment.