in reply to Can't locate DBD/ in @INC

I'm guessing that homebrew doesn't actually replace the system perl, which is the one you are trying to run (#!/usr/bin/perl). Maybe try changing that to #!/usr/bin/env perl or calling your script as perl If that doesn't work, you'll probably need to fix your path or put the full path to homebrew's perl on the shebang line.

"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^2: Can't locate DBD/ in @INC
by donfox1 (Novice) on Mar 22, 2015 at 15:06 UTC

    I've resolved the problem by uninstalling mysql and maria-DB then reinstalling maria-DB with homebrew. There had been a problem with symlinks previously. Now I can access my databases; Thanks!