xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:

Hi Esteem Monks!

If I know correctly, perl has many type of variable: lexical variable, package variable, interpreter variable. but it lacks a real global variable(crossing multi-interpreter)

no real gloabl variable on perl maybe not a big problem, but my question is, why perl doesn't have a management container on perl interpreter? If perl have a management container, we can do more (I guess) to manipulate interpreter: share memory, attach/detach interpreter, resource management(GC?) etc. A container may slightly affect the performance, but it can let perl having more power and better face on the modern multi-core environment. At least maybe we don't need see the discourage label on threads for next 5 years?

it seems Coro::Multicore does this work more or less, but it only can be used on XS.

Is there some difficulty on this? or maybe this feature wouldn't help perl?, Whatever the reason, Please enlighten me out. Thanks!

I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction