Eric Rybski asked:
> What if "use threads 'exit' => 'thread';" could be
> restricted to threads created within the namespace (i.e.
> package) of an executed function/method?  And the only
> exception to this being if use threads 'exit' =>
> 'threads';" were called in the main:: namespace, exit()
> would be globally overridden for threads across ALL
> packages (no matter how the packages used threads
> themselves)?

I don't know how this would be done.  Feel free to take a
crack at implementing such a scheme after I post my changes.
(Although, I don't think it's needed, and question if it's
even a good idea.)

> This way, module authors could use it as a nice shortcut;

Yuck.  I'm going to put words in the POD to discourage this.


Reply via email to