in reply to get package x to import package y if you use package z

Well, you always export everything you want from package Foo into package Bar, without every having to write code into either Foo or Bar. After all, an "export" of a token is nothing more, and nothing less than a single assignment of a typeglob slot.

Having said that, what I find the cleanest solution is that if package X needs package Y, that then package X uses Y itself instead of some other package providing that for it. Less action on a distance.

  • Comment on Re: get package x to import package y if you use package z