Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-07-25 23:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls