[SP-pm] Passar mais de um argumento no Gearman::Worker

Daniel de Oliveira Mantovani daniel.oliveira.mantovani at gmail.com
Tue Jul 27 12:35:08 PDT 2010


> my $res = $client->do_task( my_pesquisa => {foo => '1', bar => '2' );

Esqueci de fechar o "{}" no exemplo¬¬ mas o erro é aquele lá,

-- 
http://www.danielmantovani.com

"If you’ve never written anything thoughtful, then you’ve never had
any difficult, important, or interesting thoughts. That’s the secret:
people who don’t write, are people who don’t think."


More information about the SaoPaulo-pm mailing list