in reply to Re^4: Setuid script not workingin thread Setuid script not working
Instead of some command as in foo.pl or perl foo.pl you prefix with strace, as in strace perl foo.pl ... and then you watch