Help for this page
# this line runs fine $server->exec("sudo rm -r /directory/*"); # exec is wrapper for the Ne +t::OpenSSH "system" method ... # returns 1 because dir exists print $value;