2013/11/15

Search for Perl module - PERL5LIB

In .bashrc:

search () { (
    # Searches for perl module. Usage: "search My/Modul" or "search My::Modul"
    for DIR in ${PERL5LIB//:/ }; do find -L $DIR | grep ${@//:://}; done;
) };

No comments:

Post a Comment