Help for this page

Select Code to Download


  1. or download this
    package DataTable;
    use Moose;
    ...
        (is => 'rw', isa => 'ArrayRef[Int]', lazy => 1, default => sub { [
    +] });
    
    1;
    
  2. or download this
    package DataTable;
    use Moose;
    ...
    );
    
    # rest of the class snipped off for brevity ...
    
  3. or download this
    my $dt = DataTable->new;
    
    ...
    $db->remove_column_at_idx( 0 );
    
    # columns is now [ bar ]