Help for this page
$input->bind('<Return>', [\&mysub($arg)]);
$input->bind('<Return>', [\&mysub, $arg]);