It looks like the CPAN module X can solve the problem you have (see [cpan://X]). I found this via http://search.cpan.org, by entering "search term". Here's how you could use it: