in reply to Problem running IPTraf from Perl

The entire environment is available through the %ENV hash, so to set the TERM environment variable you would do:

$ENV{TERM} = 'vt220';
obviously substituting the appropriate value.

/J\