in reply to Can't locate auto/DBI/connection.al in @INC

There is no ->connection method in DBI. Maybe you wanted ->connect?

Your posted script does not seem to match the error message you posted. It does not produce the "Troubleshooting" output and it does not have 40 lines. Please, when you post, post the actual script together with the error message produced by the script.

As an aside, your post is not formatted. Please use <code>...</code> tags around your code and <p>...</p> tags to format your prose.

Replies are listed 'Best First'.
Re^2: Can't locate auto/DBI/connection.al in @INC
by goso (Initiate) on Apr 14, 2008 at 05:27 UTC

    Thanks very much for your help Corion :)

    I focused so much on the error message that I didn't recheck the code, strangely the IDE syntax check didn't catch the ->connection typo.

    I'll be sure to show code and error messages verbatim as well as wrap my content in proper tags in the future. Thanks for pointing them out. Bow