in reply to Re^4: perl file status and sudo
in thread perl file status and sudo

If you need sudo, then use sudo.

I don't see a technical problem that needs to be solved.