in reply to use NEXT;
It's related to you loading B unintentially. Renaming A, B, C & D to PkgA, PkgB, PkgC & PkgD in the first snippet causes it to output the same thing as the second snippet.
Update: Forgot to mention:
The use of base is discouraged. The usual problem is that it's silent when it fails to load a module (leading to weird error messages). This time, the problem was that it's silent when successfully loading a module (leading to weird behaviour).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use NEXT;
by Anonymous Monk on Apr 05, 2008 at 21:03 UTC | |
by Corion (Patriarch) on Apr 05, 2008 at 21:41 UTC | |
by FunkyMonk (Bishop) on Apr 05, 2008 at 21:18 UTC | |
by ikegami (Patriarch) on Apr 05, 2008 at 22:15 UTC | |
by vi(ing (Novice) on Apr 06, 2008 at 15:44 UTC |