Help for this page

Select Code to Download


  1. or download this
    sub Listable::insert {
        my ($self, $child) = @_;
    ...
        return 1 if $child->isa( 'Matrix' );
        return $self->SUPER::is_legal_to_insert( $child );
    }
    
  2. or download this
    sub Foo::is_legal_to_insert {
        my ($self, $child) = @_;
        return 0 if $child->isa( 'Bar' );
        return $self->SUPER::is_legal_to_insert( $child );
    }