Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created October 4, 2011 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusramberg/1261232 to your computer and use it in GitHub Desktop.
Save marcusramberg/1261232 to your computer and use it in GitHub Desktop.
my $t=Mojo::IOLoop->trigger();
$t->begin;
$self->search->solr->find($self->stash('id'),sub {
my $res=pop;
$self->stash(folder => $res);
$t->end;
});
$t->start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment