Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Why was it neccessary to pass a DBI handler by reference?

by kudra (Vicar)
on Jan 28, 2004 at 14:08 UTC ( [id://324671]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            my $one = new One(dbh => $dbh, ...);
            my $two = new Two(dbh => $dbh, ...);
    
  2. or download this
            my $one = new One(dbh => \$dbh, ...);
            my $two = new Two(dbh => \$dbh, ...);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://324671]
Approved by broquaint
Front-paged by gmax
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-19 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found