J
jtbutler78
I have a reference to an array ($ref). Can I get the size in order to
loop without dereferencing $ref?
I would like to achive this but it seems like it is an extra step to
dereference it.
@array = @$ref;
for $i ( 0 .. $#array) ...
loop without dereferencing $ref?
I would like to achive this but it seems like it is an extra step to
dereference it.
@array = @$ref;
for $i ( 0 .. $#array) ...