Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks, haukex. I tried this: eval "use cPanelUserConfig; 1" or warn "Didn't load cPanelUserConfig: $@";as a replacement for the explicit "use" command: use cPanelUserConfig;and it ran fine on my own machine, but failed on the host server because on that machine cPanelUserConfig is required in order that a different module be loaded after cPanelUserConfig is loaded. (They treat user-installed modules differently from modules that are part of their default setup.) It would seem that the "eval" command isn't actually loading the cPanelUserConfig module on the host server. Only the explicit "use" statement seems to work there. In reply to Re^2: Using eval: $@ isn't returning the error I expect
by doctormelodious
|
|