in reply to Re^2: Perl and Threading
in thread Perl and Threading

Are you using any modules in your script? Note that many modules aren't thread safe or need special handling to stay like that.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: Perl and Threading
by scorpion7 (Novice) on Nov 06, 2023 at 17:13 UTC
    DBI is in use. Each thread has it's own local prepared statements for insert/update for the data its processing. eg: have tried to handle everything as each thread having it's own local information/variables/etc. and not shared across threads, per se.
        No, the DB handle is not "shared".