[shmem@rhel4 ~]$ for pkg in `rpm -q --whatrequires perl | grep -v perl`; do rpm -ql $pkg | xargs perl -nle 'exit if -d $ARGV[0];/\bperl\b/ and print $ARGV and exit' ; done /usr/bin/genkey /usr/bin/foomatic-compiledb /usr/share/foomatic/db/source/printer/NEC-PinWriter_P6_plus.xml /usr/bin/decode-dimms.pl /usr/bin/fileshareset /usr/share/mimelnk/application/x-perl-module.desktop /usr/X11R6/bin/xscreensaver-getimage-file [shmem@rhel4 ~]$