Hi.
Using PerlArray PMC, if I use
new P0, .PerlArray
set P1, P0
P1 becomes a 'pointer' to the same array as P0. Now the question is, and
if I want a new copy? If all PerlArray elements are
integer/number/string I think that should be easy to do a loop to copy
all values. The question is that when we have any PMC inside the array,
I will need a way to copy it.
And, BTW, this method for copying it should be independent from it's
contents (meaning we should not need if needing to use I, N, S or P
registers.
Thanks for the help :)
Alberto Sim�es
--
Alberto Manuel B. Simoes
Departamento de Inform�tica - Universidade do Minho
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net