Now that depends on the code in "test2.pm" which you have not shown up. If you're using Exporter, conventionally a statement such as
use test2 ();
does not export anything into the callee's namespace. You should be doing something weird and then getting weird behavior back. Take a look at the code written by ikegami at Re: Use, Exporter, I'm Dizzy. to see how the exporting code of your module should look like.
In reply to Re^3: Use, Exporter, I'm Dizzy.
by ferreira
in thread Use, Exporter, I'm Dizzy.
by logie17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |