in reply to SQL Module Connection Help!
Your problem may lie with the backslash in: my $dbh = \DBI->connect(...
Try getting your connection code working in a standalone script first then move it out to a module.
The basic idea of putting the connection code in a separate module is fine - it's done at lots of sites.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SQL Module Connection Help!
by Anonymous Monk on Nov 04, 2010 at 01:08 UTC | |
by kcott (Archbishop) on Nov 04, 2010 at 01:38 UTC | |
by Anonymous Monk on Nov 04, 2010 at 01:42 UTC | |
by andal (Hermit) on Nov 04, 2010 at 10:06 UTC | |
by Anonymous Monk on Nov 04, 2010 at 13:50 UTC |