I think you need to give the function a name first (with add_defun()), and then use that name in the bind_key() call
... $term->add_defun('insert-text', \&insertxt); $term->bind_key(61, 'insert-text'); ...
In reply to Re: using Term::ReadLine::Gnu
by almut
in thread using Term::ReadLine::Gnu
by my_nihilist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |