[Purdue-pm] Threads and forks

Dave Jacoby jacoby.david at gmail.com
Thu Oct 22 06:58:47 PDT 2020


My first question is, what is the webserver doing?

Because, notwithstanding lag, I'd expect it to receive and handle your web
stuff.

Are you using LWP? Mojo::UserAgent? WWW:: Mechanize? Shell out to curl?


On Wed, Oct 21, 2020, 9:10 PM Turner, Howard Robert <turne349 at purdue.edu>
wrote:

> Greetings again everyone.
>
> Looking for some advice. I'm writing a small program that talks to a
> webserver and ends waiting for a connection back from the webserver.
> Problem is I can only figure out to have the call back handled or my Perl
> program continue processing but not both.
>
> Started reading the Perl threads tutorial but it suggests not using
> threads and then started reading about fork instead. So a little
> overwhelmed in figuring out which one is "the right way".
>
> Anyone have suggestions and/or tutorials they'd suggest reviewing beyond
> the ones on perldoc?
>
> Respectfully,
> Rob
> _______________________________________________
> Purdue-pm mailing list
> Purdue-pm at pm.org
> https://mail.pm.org/mailman/listinfo/purdue-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/purdue-pm/attachments/20201022/4a3c3122/attachment.html>


More information about the Purdue-pm mailing list