[SP-pm] Como pegar o indice dos objetos

Lucas Moraes mineiro at live.be
Sun Oct 3 12:21:14 PDT 2010


Oi Renato, estou querendo fazer isso:

 

my $self = shift;

foreach(keys($self->nome)){

print $_;

}

 

esse codigo não funciona, isso é ideia de como eu quero.

Obrigado.

Deus é o limite.
 		 	   		  
-------------- Pr?xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20101003/0e6f6260/attachment.html>


More information about the SaoPaulo-pm mailing list