I have added a file "DebugPod.nqp" in the directory rakudo/src/Perl6
and want to use it for debugging other files in that directory.
Following the format of the "Pod.nqp" file in that directory, I have
structured my new file this way:
Perl6::DebugPod {
our sub debug_rows($desc, @rows) {...}
our sub debug_array($desc, @arr) {...}
# etc.
}
In file "Pod.nqp" I have added at the top before the class declaration:
use Perl6::DebugPod;
Inside "Pod.nqp" I currently (and successfully) call the debug
functions like this:
Perl6::DebugPod::debug_rows('after &process_rows', @rows);
The main question I have is "is there any way to avoid having to use
the fully-qualified sub name on the external functions?"
Thanks.
Best regards,
-Tom