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


Comment on Re: Thread-safe SSL IMAP
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-07-03 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls