def _build_cmd_line(name, from_path, notest, locallib, mirror, mirror_only, installdeps, cpanm, use_sudo):
    if from_path:
        cmd = ((cpanm + ' ') + from_path)
    else:
        cmd = ((cpanm + ' ') + name)
    if (notest is True):
        cmd = (cmd + ' -n')
    if (locallib is not None):
        cmd = ((cmd + ' -l ') + locallib)
    if (mirror is not None):
        cmd = ((cmd + ' --mirror ') + mirror)
    if (mirror_only is True):
        cmd = (cmd + ' --mirror-only')
    if (installdeps is True):
        cmd = (cmd + ' --installdeps')
    if (use_sudo is True):
        cmd = (cmd + ' --sudo')
    return cmd
def _build_cmd_line(name, from_path, notest, locallib, mirror, mirror_only, installdeps, cpanm, use_sudo):
    if from_path:
        cmd = ((cpanm + ' ') + from_path)
    else:
        cmd = ((cpanm + ' ') + name)
    if (notest is True):
        cmd = (cmd + ' -n')
    if (locallib is not None):
        cmd = ((cmd + ' -l ') + locallib)
    if (mirror is not None):
        cmd = ((cmd + ' --mirror ') + mirror)
    if (mirror_only is True):
        cmd = (cmd + ' --mirror-only')
    if (installdeps is True):
        cmd = (cmd + ' --installdeps')
    if (use_sudo is True):
        cmd = (cmd + ' --sudo')
    return cmd