Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Using eval: $@ isn't returning the error I expect

by pryrt (Prior)
on Feb 20, 2020 at 02:35 UTC ( #11113219=note: print w/replies, xml ) Need Help??


in reply to Re: Using eval: $@ isn't returning the error I expect
in thread [SOLVED] Using eval: $@ isn't returning the error I expect

need to load the module or not, and not actually use any of its functions (?)

cPanelUserConfig sets up library paths for modules installed using the cPanel interface -- basically a series of use lib ...; necessary if the script uses any non-core modules that you've installed on your shared hosting server

Replies are listed 'Best First'.
Re^3: Using eval: $@ isn't returning the error I expect
by doctormelodious (Acolyte) on Feb 20, 2020 at 07:08 UTC
    Exactly. The script in question uses a module I installed on the shared server, so cPanelUserConfig must be used for the script to work in that environment -- but not on my local server, where all the modules are in the same place. Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113219]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2020-05-25 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (143 votes). Check out past polls.

    Notices?