Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: AnyEvent::Fork not working as expected

by Aldebaran (Curate)
on Jul 01, 2021 at 06:07 UTC ( [id://11134526]=note: print w/replies, xml ) Need Help??


in reply to AnyEvent::Fork not working as expected

I have tried lots of variants without success.

So have I with fork scripts, and I haven't come up with anything satifactory. I received this warning for several of M Lehmann's modules including this one:

*** The stability canary says: (nothing, it was driven away by harsh w +eather) *** *** It seems you are running perl version 5.030000, likely the "offici +al" or *** "standard" version. While there is nothing wrong with doing that, *** standard perl versions 5.022 and up are not supported by JSON::XS. *** While this might be fatal, it might also be all right - if you run + into *** problems, you might want to downgrade your perl or switch to the *** stability branch. *** *** If everything works fine, you can ignore this message.

I tried to let it run its course but eventually control-c'ed and q'ed my way out of it. I'll just chalk it up as one of many failed attempts to use some type of fork in perl. Instead of trying again, I should probably just accept that perl is uniprocess by design and not use a hammer as a screwdriver.

Replies are listed 'Best First'.
Re^2: AnyEvent::Fork not working as expected
by choroba (Cardinal) on Jul 01, 2021 at 10:34 UTC
    The easiest and recommended solution is not to use modules by the mentioned author. For the mentioned module, JSON::XS, an alternative exists: Cpanel::JSON::XS.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134526]
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: (7)
As of 2024-04-19 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found