Help for this page

Select Code to Download


  1. or download this
    my %table_fields = (
        table1 => [ 'field1' , 'field2' , 'field3' ],
    ...
        my ($self,$table) = @_;
        return $table_fields{$table};
    }
    
  2. or download this
    sub save {
        my $self  = shift;
    ...
        return ( $id );
    }