in reply to Changing PM File at Run time
Others have told you how to do this, but I have to say this sounds like a Really Bad Idea. Load the data from a file, not from a .pm.
In Section
Seekers of Perl Wisdom
in reply to Changing PM File at Run time