Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Thread-safe SSL IMAP

by Anonymous Monk
on Sep 21, 2011 at 16:57 UTC ( #927181=note: print w/replies, xml ) Need Help??


in reply to Thread-safe SSL IMAP

Then thread-safety isn't such a big deal if you do it like
my $safeIfTheOnlyOne = threads->create('oneAndOnlyMailer', 'argument') +; sub oneAndOnlyMailer { require IO::Socket::SSL; require Mail::IMAPClient ; require Net::IMAP::Simple::SSL; ... }

If you need multiple mailers, then it would pay to make IO::Socket::SSL thread-safe

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927181]
help
Chatterbox?
[LanX]: GotToBTru ++ # erix & MySql ... talk about a database trigger xD
[LanX]: though not today ...
erix not into Legacy databaseware :P

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (16)
As of 2017-03-30 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.