Perl interface to pseudo tty's