in reply to system call how-to

Doesn't whatis /usr/bin/* do the same thing your script does? Why do you need it then? Is it a part of a larger script?

AFAIK, system does not interpolate wildcards; that means * does not work. You can write an explicit glob:

$files = join ' ', glob '/usr/bin/*'; system "whatis $files";