Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: custom $dbh with Rose::DB?

by mreece (Friar)
on Nov 07, 2006 at 15:48 UTC ( #582677=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use DBI;
    use Rose::DB;
    ...
    $rdb->dbh( $dbh );
    
    print "still here\n";
    
  2. or download this
    use base qw( Rose::DB );
    
    ...
    my $u = My::RDBO::User->new(id => 1);
    $u->load;
    print("$_ => ", $u->$_, "\n") foreach $u->meta->columns;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2020-01-19 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?