[Bug 221113] New: readline function in perl does not correctly set $!