perlquestion
rockneybot
Hi. I have a script that relies heavily on system() calls to external programs. I'd like to be able to hide some or all of the ouput from STDOUT. What is the best way to do this?
For instance if I have this:
<code>
system "/sbin/sfdisk -uM -q -L -O disksave --no-reread $device <<EOF\n0,\nEOF"
</code>
How do I hide the output or perhaps selectively show the output?