better (more generic) python and perl module searches