note
pryrt
<i>I don't see how the absence of Exporter in any of those modules would cause breakage. Can you provide more details ?</i><P>
Because the solutions that assume Exporter specifically assume the existance of @EXPORT in every one of the sub-modules. My [id://11146668|Two.pm] does <I>not</I> contain <c>@EXPORT</c>, and thus none of Two.pm's functions would be exported to the tldr script if my ::All had <c>our @EXPORT = (@Mod11146642::One::EXPORT, @Mod11146642::Two::EXPORT);</c> instead of the <c>our @EXPORT = @inherited;</c> and the stash-diff that populated <c>@inherited</c>. If I used the EXPORT-assuming line, ignoring @inherited, I would get <c>
C:\usr\local\share\PassThru\perl\perlmonks
> 11146642-tldr.pl
Called Mod11146642::One::oneFunction()
Undefined subroutine &main::twoFunction called at C:\usr\local\share\PassThru\perl\perlmonks\11146642-tldr.pl line 14.
</c>
<!-- Wiki2Monks {"version":1.161} -->
11146642
11146653