![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Can't require MCE::Map (Strawberry)?by Anonymous Monk |
on Mar 07, 2025 at 07:20 UTC ( [id://11164178]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This, of course, prints:
I want to make dependency on MCE, in my module, very optional i.e. triggered by rare circumstances only. Replacing "use" with "require" results in just first 4 lines of output and process running indefinitely, 4 cores fully loaded. MCE::Map being just a convenience, I can do this instead:
And it runs perfectly. I understand I'll have to deal now with ordering of the output, it's not an issue. But that's the reason I was hoping to use MCE::Map to make it easier. Is this a bug? In general, is very optional (documented) dependency on something big and complex as MCE a bad-bad-bad idea? I guess I'll have to indicate minimum required MCE version then, which for example above would be... 1.500?
Back to
Seekers of Perl Wisdom
|
|