in reply to system call how-to

The first example seems a bit long-winded already in bash and could be improved to:
ls /usr/bin | xargs whatis
It didn't look like a worthwhile goal anyway to just use perl -e to system() back to the shell. I'd try something that can be done without the system() call, e.g. counting the number of lines in each file.
__________________________________________________________________________________

^M Free your mind!