Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Is this a way to Go Perl #1by karlgoethebier (Abbot) |
on Aug 03, 2021 at 17:07 UTC ( [id://11135585]=note: print w/replies, xml ) | Need Help?? |
«…relying on a global variable on the Go side…» Sure. But everything has it’s price. What if we use MCE and MCE::Shared? The shared variable where we write the output to is a global - less or more and however we set it’s scope. And regardless if we fork or spawn some threads: We rely on a global. If I’m not totally wrong 😑 «The Crux of the Biscuit is the Apostrophe»
In Section
Seekers of Perl Wisdom
|
|