Hi,
I have a threaded app where each thread is a method inside a module.
I have several modules that each have different sets of use statements.
I want to be able to use Thread::Needs (or something like it if that's not suitable - I've been playing with Symbol::delete_package to no avail) to unload the modules that are not used by each Class in order to keep the per-thread, per-class overhead down.
I tried to look at an example for Thread::Pool, but, Thread::Needs isn't actually used there - it's in the TODO (:-S) so, I wondered, is there an extant example of this anywhere?
Simply put, I do something like (not complete code here you understand - just fragments):
(0)
]
