Help for this page

Select Code to Download


  1. or download this
    package YV::Table::ArticleAuthor;
    use base 'YV::Table::DBI';
    ...
    __PACKAGE__->hasa(YV::Table::Article => 'article_id');
    
    # other methods
    
  2. or download this
    use YV::Table::ArticleAuthor;
    
    ...
       next unless $delete_article_xref{$_->article_id};
       $_[0]->delete();
    }
    
  3. or download this
    __PACKAGE__->columns(All => qw/article_id author_id/);
    
  4. or download this
    # Under Construction