added initial implementation of auto-resolving cpanm