I've doublechecked that Net:MySQL and its dependencies are installed (and clearly, the script sees it because it doesn't give an error on require Net::MySQL;), but I continue to get the following error while running the script.
Can't locate object method "new" via package "Net::MySQL"
Does anyone have any ideas?
Thanks,
Scott
You can get this error if you misspell the package name in the new statement. Check that the capitalization is correct. Net::MySQL, not Net::MySql nor Net::MYSQL, etc.
And try including "use strict;" and "use warnings;" if you have not already.