in reply to Re^4: Setuid script not working
in thread Setuid script not working

I would be interested in a simple example of using backtrace/strace to investigate an issue like this.

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