in reply to special character printing issue
use Encode qw{ decode }; my $smtpban = decode('utf-8', qx{ smtpban -s $mail | tail -n +20 }); [download]