Re: array as an class attribute

2001-09-08 Thread Gustavo A. Baratto
>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

perldoc.com

2001-09-08 Thread Gustavo A. Baratto
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]

Re: array as an class attribute

2001-09-08 Thread Gustavo A. Baratto
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.

array as an class attribute

2001-09-08 Thread Gustavo A. Baratto
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