Re: more class stuff

2001-06-19 Thread Jos Boumans
What probably is going wrong here, is that you're using 'strict' and not declaring the @Next array so what you'd need to do is say: my @Next; on the op of your module probably tho, you'll have that array filled with something if you're adding it to your constructor, and probably, you have a fun

Re: more class stuff

2001-06-18 Thread Chas Owens
On 18 Jun 2001 17:00:28 -0500, Nick Transier wrote: > @Next will become a class (or package) variable, but it is not set yet > because I have another function which does that after the object is created. > It is meant to be an array of pointers or references I guess. Is there > anything I can d

Re: more class stuff

2001-06-18 Thread Nick Transier
the var? >From: Chas Owens <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: more class stuff >Date: 18 Jun 2001 17:57:14 -0400 > >On 18 Jun 2001 16:42:45 -0500, Nick Transier wrote: > > given this new function which acts as a constructor > > > &

Re: more class stuff

2001-06-18 Thread Chas Owens
On 18 Jun 2001 16:42:45 -0500, Nick Transier wrote: > given this new function which acts as a constructor > > > sub new { > > my $invocant = shift; > my $class = ref($invocant) || $invocant; > my $self = { > Level => 999, > Value => 999, >

more class stuff

2001-06-18 Thread Nick Transier
given this new function which acts as a constructor sub new { my $invocant = shift; my $class = ref($invocant) || $invocant; my $self = { Level => 999, Value => 999, Key => 999, @Next, @_,