Access to Database from Custom perl module

pixel

Member
May 30, 2002
9
0
301
Hello all,

Is there a way to use standard perl DBI module inside a custom CPanel Module ? (located in /usr/local/cpanel/Cpanel/)

If I try to put "use DBI;" on the top of a custom Cpanel module, The module stop to work immediatly when called from Cpanel tag.

We absolutly need to find a way to accces Postgresql from cpanel tag.

Many thanks,

Nicolas :)