Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: OO method wont parse

by Mr. Muskrat (Canon)
on Aug 29, 2017 at 17:37 UTC ( [id://1198284]=note: print w/replies, xml ) Need Help??


in reply to OO method wont parse

What I'm trying to achieve is to keep the dbi/sql object instantiated in the constructor by adding it to the hash that is the object (i.e. as a property) The subroutines can then grab that from the hash and use it, rather than having to re-create it.

Is this app single threaded? If not, be sure to read up on DBI - Threads and Thread Safety.

Also, how are you dealing with disconnected database handles? Have you seen DBIx::Connector?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-23 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found