Thanks to the rpm folks (who's perl-scanner I conveniently ripped off, bless the GPL :) I now have perl support in my depreverse scripts.
I've also added a convenience wrapper called finder.sh ; run as :
./finder.sh gtk2-perl
and it will call "etcat" to get a list of files inside gtk2-perl, resolve theese to depended on files, and resolve those back to packages. Wee hee.
Thinking about gtk2-perl..
dev-lang/perl
dev-libs/atk
dev-libs/expat
dev-libs/glib
dev-perl/glib-perl
dev-perl/gtk2-perl
media-libs/fontconfig
media-libs/freetype
sys-libs/glibc
sys-libs/zlib
x11-base/xorg-x11
x11-libs/gtk+
x11-libs/pango
./finder.sh gtk2-perl 84.20s user 4.36s system 83% cpu 1:46.53 total