[SP-pm] Gearman não passando todos caracteres como argumento

Daniel de Oliveira Mantovani daniel.oliveira.mantovani at gmail.com
Mon Aug 2 13:49:15 PDT 2010


Resolvei pessoal, foi muito trabalhoso e cansativo. Tive que compilar
manualmente o Gearman-0.10 na mão, depois baixar manualmente o
Gearman-XS-0.07 do CPAN.



2010/8/2 Daniel de Oliveira Mantovani <daniel.oliveira.mantovani em gmail.com>:
> Pessoal, quando eu rodo todos os serviços localmente (Worker/Job
> Server/Client), eu não tenho problema. Porém, quando eu executo o
> worker remotamente, ele não passa um caractere. Para ser preciso o
> último.
>
> Exemplo,
>
> <worker/ip=192.168.1.2>
> sub func {
>  my $job = shift;
>  my $argh = $job->workload;
> }
> </worker/>
>
> <client/ip=192.168.1.3>
> func("água")
> </client/
>
> Se eu passar "água", eu vou ter em $argh. "águ". Isso não estava
> acontecendo antes localmente.
> Alguém tem alguma idéia ?
>
> --
> 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."
>



-- 
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