Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Using a single database handle or multiple handles

by blue_cowdawg (Monsignor)
on Oct 11, 2012 at 13:18 UTC ( #998443=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Customer::EmployeeDB;
    use DBI;
    ...
    
    }
    1;
    
  2. or download this
      | handwaving here
    use Customer::EmployeeDB;
    ...
    my $sth = $db->prepare("select * from employee order by surname");
    $sth->execute();
       | do something with it
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998443]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-12-02 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (49 votes). Check out past polls.