http://qs321.pair.com?node_id=649195


in reply to Re: How to declare globally visible subroutine like built-in ones ? Is it possible?
in thread How to declare globally visible subroutine like built-in ones ? Is it possible?

>Are you sure you don't wan't use y; or require y; in z.pm??

Yes, I've given simplified example. Actually y.pm is a runtime library with many submodules:

script.pl - "use y";
y.pm - load many submodules with "subnamespaces", and export many subs to the script.pl
z.pm - one of submodules

Perl is Perl, it allows almost all, I suppose it is possible to make my problem in some way...