Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Although the other answers have already given you the help you need to solve your problem as-stated, I wonder if there isn't a better approach. If you're just loading a module on a per-host basis, to get configuration data, why not load a config file instead? Rather than loading the module just load and parse:
That way you could distribute all your config to all hosts - via Puppet, Chef, or for the perl-lovers Slaughter, and the right thing will happen.. In reply to Re: dereferencing use module
by skx
|
|