Please consider refactoring this script into a perl module, so it can be used within other scripts.
If this request is approved, I'm willing to do this refactoring. I've already did this for an internal project based on an older release of mysqltuner. I'm willing to rebase these changes on to an current release if there is a sufficient chance that this would be accepted.
Sorry for the long long delay. I'm not opposed to your idea, but I don't have the bandwidth to work on it. :(