You can always call subroutines in other modules like this:"CD::testing(); AB::testing();". So calling them is easy
I assume that importing two functions with the same name also produces warnings. If you want to avoid these, you could change your modules to only export on request, i.e. instead of @EXPORT use @EXPORT_OK in the module and if you want to import a subroutine into your namespace, use "use AB(testing);".
Or you call a module like this: "use AB()"; In this case no names are imported at all, even when they are in your @EXPORT array.
In reply to Re: Recursive use statements?
by jethro
in thread Recursive use statements?
by ellis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |