On Sep 8, Gustavo A. Baratto said:

>Thanks for the help. I wasn't initializing the $self->{ARRAY} with [].
>But later in the code I need to do something like this:
>
>@self->{ARRAY} = @another_array;  # of course this is giving me an error.

  @{ $self->{ARRAY } = @another_array;

or

  $self->{ARRAY} = \@another_array;

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to