in reply to Problems with Sys::Syslog and taint
Sys::Hostname tries to fall back to system utilities like
'hostname' and 'uname -n' to get the host name, so the
problem probably has something to do with your $ENV{PATH}.
i was able to get your code to work by adding the following line:
this should work under UNIX as long as 'uname' or 'hostname' is in '/bin'.local %ENV = (PATH => '/bin');
a better way to make it work is to create "syscall.ph" for the systems you'll be using by running 'h2ph /usr/include/syscall.h'. however, upon testing, even this didn't fully avoid tainting problems on my system (GNU/Linux).
In Section
Seekers of Perl Wisdom