Hi all,
I'm a novice Perl scripter. I need to run a shell command from within my Perl script:
Code:
$deletedev=`echo 1>/sys/block/sdz/device/delete`;
and I can't figure out how to get the error to suppress when sdz doesn't exist. The error is:
Code:
sh: /sys/block/sdz/device/delete: No such file or directory
How can I hide this error?