Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 chanting in the Monastery: (15)
As of 2015-07-01 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (12 votes), past polls