Trying to pipe in linefeeds should also work.
yes '' | iperl --version
In reply to Re^2: jupyter kernel perl by cavac in thread jupyter kernel perl by vskatusa