Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: Add a method to a ResultSet Class in DBIx::Class?

by jasonk (Parson)
on Jan 09, 2008 at 18:20 UTC ( #661443=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    # lib/
    package MyDB;
  2. or download this
    # lib/MyDB/Result/
    package MyDB::Result::Article;
    __PACKAGE__->table( 'articles' );
    __PACKAGE__->columns(qw( updated_time created_time ));
  3. or download this
    my $schema = MyDB->connect( @connection_info );
    my $article = $rs->schema( 'Article' )->new({});
  4. or download this
    # lib/MyDB/ResultSet/
    package MyDB::ResultSet::Article;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://661443]
[LanX]: keeping them busy ... (diabolic laughter)
[Eily]: speaking of hacking
[Eily]: there's a new Mc Gyver series, with a hacker in the team
[Eily]: her skills are so good that they can be used to hack a pacemaker
[LanX]: team?
[Eily]: yup, he's part of a secret agent team or something like that
[Your Mother]: Haven't seen it, but let me guess. There is a woman and a minority agent and no Germans? Close? :P
[Eily]: you're good :P
[Eily]: except if you count their boss, which is both a woman and from a minority
[LanX]: na, they go easy on germans since they discovered the German TV market

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2018-03-19 14:35 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.