def perl_cmd ( ) : perl = which ( os . path . join ( get_bcbio_bin ( ) , "perl" ) ) if perl : return perl else : return which ( "perl" )
python or perl scripting 2017
Retrieve path to locally installed conda Perl or first in PATH .
def perl_cmd():
    """Retrieve path to locally installed conda Perl or first in PATH.
    """
    perl = which(os.path.join(get_bcbio_bin(), "perl"))
    if perl:
        return perl
    else:
        return which("perl")