ForkCall runs a perl function, and you get the return value back.
ReadWriteFork runs a perl function or external binary, and you can write to
STDIN and get STDOUT/STDERR events. Thus they are useful for slightly
different use cases, choose the one that is simplest for your needs.

On Sat, May 21, 2016 at 11:07 AM, Matija Papec <[email protected]>
wrote:

>
> These two are from core members so I can't decide which to use.
>
> https://metacpan.org/pod/Mojolicious::Plugin::ForkCall
> https://metacpan.org/pod/Mojo::IOLoop::ReadWriteFork
>
> I would use it for perl legacy/blocking code, and for calling external
> binaries as well.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to