>news:[EMAIL PROTECTED]...
> 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 th
does anyone knows what happened with http://www.perldoc.com/perl5.6/pod/ ?
there's nothing in there since thursday.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
lf->{ARRAY}[$i] = $another_array[$i]
}
or there's something smarter?
"Brett W. McCoy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sat, 8 Sep 2001, Gustavo A.
How can I have an array in a class attribute?
In my constuctor this is not working: (I need $self->{ARRAY} to be an array)
sub new
{
my $class = shift;
my $self = { };
$self->{IFCONFIG} = "/etc/ifconfig.temp";
$self->{NEWIP} = "/home2/nas3/nas/.newip.temp";
$self->{IP} = und