Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: Error Message - PL_perl_destruct_level at /usr/lib64/perl5/DynaLoader.pm

by pryrt (Abbot)
on Apr 28, 2016 at 16:55 UTC ( [id://1161795]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Error Message - PL_perl_destruct_level at /usr/lib64/perl5/DynaLoader.pm
in thread Error Message - PL_perl_destruct_level at /usr/lib64/perl5/DynaLoader.pm

At least on my webserver with cPanel installation of perl modules, the documentation for installing perl modules (not sure if it's cPanel or ISP documentation) lists a 'use' statement that will set up the use-lib properly for where cPanel installs the modules. Let me go look it up:

Your Perl script needs instructions to find the modules in your path.

To do this, add one of the two choices below to the top of your script:

#!/usr/bin/perl use cPanelUserConfig;

- or -

#!/usr/bin/perlml

So, at least on my server, if I use the perlml version, it doesn't need the special include, but you might want to try the use cPanelUesrConfig; anyway (it may be that perlml is different on your cPanel than on mine).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-25 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found