[Rio-pm] [OT-GOLF] Merge

Fernando Oliveira fernandocorrea em gmail.com
Quinta Fevereiro 4 07:24:41 PST 2010


Mantovani, claro q precisa! Isso nao ta retornando uma string...

On Feb 4, 2010 12:59 PM, "Daniel de Oliveira Mantovani" <
daniel.oliveira.mantovani em gmail.com> wrote:

Não precisa do join:
sub merge{@b=split//,pop;@a=split//,pop;map{$a[$_].$b[$_]}0.. em a+@b}

mantovani em mantovani-desktop:~$ perl -MMerge -E 'say merge("dan",12)'
d1a2n



2010/2/4 breno <breno em rio.pm.org>:
> e -2 tirando parenteses
>
> sub merge{@b=split//,pop;@a=split...
--
"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."

_______________________________________________
Rio-pm mailing list
Rio-pm em pm.org
http://mail.pm.org...
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/rio-pm/attachments/20100204/bff2b687/attachment-0001.html>


Mais detalhes sobre a lista de discussão Rio-pm