in reply to preventing a system call from displaying output

Another way would be to redirect the output:

system("unzip -l $filename > /dev/null");

If you need to you can redirect STDERR, too ...

Regards Stefan K