I have a request that I need to connect to remote server which has been done using Net::SSH or Net::OpenSSH and then i have to sudo on that remote server.

Is it possible. Then is it required that sudo package should be installed in the remote server??? or else the present server contains the sudo is it enough???

I need a quick reply regarding this request :) :)

The main aim is that does i can use the packages available on our server after connecting to the remote server. I have to connect to sudo on remote server which has been connected throught Net::SSH::Perl or Net::OpenSSH.