in reply to Avoiding variable conflict when importing modules
It will use the one from the most recently useed module. If one is not found in the current package or its @ISA, it will fail to find any. If f() refers to $ModuleA::x explicitly, there will be no confusion and you get the one you want.
After Compline,
Zaxo
|
|---|