Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-10-23 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls