in reply to Re: Getting the DATA section of one module in the import() of another
in thread Getting the DATA section of one module in the import() of another
The require will of course not execute import(), so you will need to call it manually, which mean you should probably give it a different name.
But either way, you won't be able to make this work from import() called by the use statement for the reasons given above.
|
|---|