in reply to [SOLVED] Using eval: $@ isn't returning the error I expect
I see a couple of issues here:
All in all, since it sounds like you only need to load the module or not, and not actually use any of its functions (?), I would have gone with: eval "use cPanelUserConfig; 1" or warn "Didn't load cPanelUserConfig: $@";.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Using eval: $@ isn't returning the error I expect
by pryrt (Abbot) on Feb 20, 2020 at 02:35 UTC | |
by doctormelodious (Acolyte) on Feb 20, 2020 at 07:08 UTC | |
Re^2: Using eval: $@ isn't returning the error I expect
by doctormelodious (Acolyte) on Feb 20, 2020 at 00:26 UTC | |
by haukex (Archbishop) on Feb 20, 2020 at 00:35 UTC | |
by doctormelodious (Acolyte) on Feb 20, 2020 at 00:44 UTC |