my @tmp = @$OBJS; # Do whatever you want to @tmp. It won't affect $OBJS