Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Shared DBI handle supporting threads and processes

by erix (Parson)
on Apr 13, 2020 at 05:36 UTC ( #11115419=note: print w/replies, xml ) Need Help??


in reply to Shared DBI handle supporting threads and processes

my $ins_sql = ... my $sel_sql = ...

Imho, SELECT and INSERT are not all that interesting. UPDATE is more of a challenge.

Replies are listed 'Best First'.
Re^2: Shared DBI handle supporting threads and processes
by marioroy (Vicar) on Apr 13, 2020 at 07:20 UTC

    Greetings erix. I updated the example by adding the missing 'do' method to the shared class. Also, updating a record.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11115419]
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: (3)
As of 2020-07-14 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?