Given that I am trying to define an object attribute which is an array of 
references to other object of the same type, how do I define this in the 
$self portion of my sub new constructor? This is what I have, will this 
work? Next is meant to hold an array of pointers or references.

sub new {

        my $invocant = shift;
        my $class = ref($invocant) || $invocant;
        my $self = {
                Next,
                @_,
        };
        return bless $self,$class;

}

thanks,
-Nick
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to