Help for this page

Select Code to Download


  1. or download this
    sub list {
        my $self = shift @_;
    ...
    
        return wantarray ? @$aref : $aref;
    }
    
  2. or download this
        my @population = $self->list("_population");
    
  3. or download this
    sub remove {
        my $self   = shift;
    ...
        $self->{$type} = [ grep { $target ne $_ } @{$self->{$type}} ];
        return;
    }