in reply to Perl, Unix terminals, and SSH complicated combination
You probably need to use ssh's -t option to force pseudo tty allocation.