Outside of the responses regarding Dynaloader and DBD::mysql, note that your shebang line is likely still calling the system Perl.
Replace it with: #!/opt/local/bin/perl to call the version installed using MacPorts
In reply to Re^7: Getting DBD-mysql to work with Mac OS X Lion
by luis.roca
in thread Getting DBD-mysql to work with Mac OS X Lion
by bmckenzie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |