![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: What is the proper data structure for CAP::DBH?by hv (Prior) |
on Jan 18, 2023 at 02:44 UTC ( #11149662=note: print w/replies, xml ) | Need Help?? |
You say: DBI docs suggest this format for the data structure $data_source = dbi:DriverName:database=database_name;host=hostnameSo, I have set up the connection to look like this:
However the first part suggests it should rather look like this (note also the semicolon in the string):
So maybe you should try that first. In fact I'd probably prefer to construct a string like that with sprintf:
In Section
Seekers of Perl Wisdom
|
|