in reply to Problem running IPTraf from Perl

Why not using a small shell script as wrapper around perl, it will keep the environment setting local (if not using mod_perl I presume)...
#!/bin/bash # export set term="vt120" /usr/sbin/iptraf -s eth0 -B -L some.log