Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: AnyEvent::Fork not working as expected

by jo37 (Deacon)
on Jun 28, 2021 at 20:12 UTC ( [id://11134406]=note: print w/replies, xml ) Need Help??


in reply to AnyEvent::Fork not working as expected

It looks like AnyEvent::Fork insists in require'ing a module. Separating the Some package into a .pm file makes the "undefined subroutine" go away, though it results in some "uninitialized value" errors.

use lib '.'; my $pool = AnyEvent::Fork ->new ->require("Some") ->send_arg ("str1", "str2") ;

Greetings,
-jo

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found