in reply to Re^2: LWP::UserAgent timeout
in thread LWP::UserAgent timeout

Multi-threads, i.e. separating UI and other stuff, make sure sense. However, it frightens me turning my application in a multi-threads one. My GUI is Tk and Tk is said to be "not thread safe". Zero experience on my side.

Replies are listed 'Best First'.
Re^4: LWP::UserAgent timeout
by tybalt89 (Monsignor) on Dec 17, 2018 at 22:36 UTC

    Look at Tk::IO

Re^4: LWP::UserAgent timeout
by markong (Pilgrim) on Dec 17, 2018 at 21:39 UTC
Re^4: LWP::UserAgent timeout
by bliako (Abbot) on Dec 18, 2018 at 00:57 UTC

    I will second the multi-thread model if you have heavy calculations or a fair amount of other networking. I was under the impression that your only network interaction would be the one you showed. However, I have zero knowledge of Tk myself.