I'm not sure if this is relevant to your project, but are you aware of the recent security alerts concerning screen? I'm only aware of it because I like this utility a lot, but had a lot of stress installing it on SUSE and then came across the security warnings when looking for a fix. Google on "screen vulnerability."
I wonder if having this in perl would make things better, worse, or no change.