in reply to backspace key

stty erase '^h' (from the shell, not from Perl!) works on any reasonable UNIX shell (it's not a builtin). Specifically it works on all sh and csh derivatives I've met.