Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: system call how-to

by cdarke (Prior)
on May 01, 2007 at 16:40 UTC ( [id://613019] : note . print w/replies, xml ) Need Help??

in reply to Re: system call how-to
in thread system call how-to

Check that whatis exists in your Bourne shell. It could be an old version that does not have it (system uses the Bourne shell on UNIX by default). Check the return value, or $?.
If you want to capture the output in Perl, maybe you should be using qx (or back-ticks) instead?