http://www.perlmonks.org?node_id=1186447


in reply to Re^2: How to pass hash site variables into sql connection using perl?
in thread How to pass hash site variables into sql connection using perl?

Please post the code that gives that error.
I guess you need to rename your sub to dbconnect like shown here. You can't use connect because it is a DBI method.

poj