I have a module where I load data from the __DATA__ section to a global DSTRUCT in a sub. The DSTRUCT is accessed by sub's @EXPORT'ed by the module. To call any of the 'accessor' subs, I have to call the 'load' sub first (once).
How do I assure that the 'load' sub is called 'automagically' before any 'accessor' sub', - preferably at the pt. when a program 'use's my module? A BEGIN block doesn't do the job.