I was wondering if there was any way to turn on taint mode after perl has started running, and only inside certain packages? I'm interested in knowing how theoretically possible this would be even if the only ways involve XS hacking or modifying the perl source.
There are very specific reasons beyond my control for why I cannot just enable taint mode globally, so I'm looking for alternative substitutes or modules.