Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Why put the data in .pm files? Can't it be controlled by data structures in some readable way, like JSON or YAML? Does it need to include code? If parameters in the config files can control program flow in the module, I'd say stick to config files and not dynamic modules. An alternative to JSON of YAML might be to look at any of the plethora of Config:: modules on CPAN. Then there is the long forgotten support for files in the do keyword:
do does accept variables :) Enjoy, Have FUN! H.Merijn In reply to Re: Best way to dynamically use a .pm?
by Tux
|
|