in reply to (OT) sudo question

This is actually a sudo configuration issue, not a Perl question.

From the man page for sudoers:

The sudoers file is composed of two types of entries: aliases (basically variables) and user specifications (which specify w +ho may run what).

You need to configure the file /etc/sudoers to specify which User-IDs may use sudo and which commands each User-ID is allowed to execute under the cover of sudo.

----
I Go Back to Sleep, Now.

OGB