If I understand correctly, you would like to use this followtail script to monitor several log files, and you would like to launch a separate xterm for each separate log file. This is fairly straightforward and you could simply shell script the launching of the followtail script
in reply to POE::FollowTail and xterm
Is this what you had in mind? I thought briefly that you might want a separate xterm for each message, but that could generate thousands of xterms very quickly, and thus would be silly (to use the technical term).
xterm -hold -e /path/to/follow-tail.pl /var/log/httpd/access_log > /d
xterm -hold -e /path/to/follow-tail.pl /var/log/httpd/error_log > /de