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

Renato Santos renato.cron at gmail.com
Tue Aug 3 04:25:58 PDT 2010


Tem certeza que não foi pau de encoding?

2010/8/2 Daniel de Oliveira Mantovani <daniel.oliveira.mantovani at gmail.com>

> 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 at 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."
> _______________________________________________
> SaoPaulo-pm mailing list
> SaoPaulo-pm at pm.org
> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>



-- 
Renato Santos
http://www.renatocron.com/blog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20100803/e5e6106f/attachment.html>


More information about the SaoPaulo-pm mailing list