in reply to readline must affect/apply in Perl <STDIN>

I'm not sure I understand the question. Are you after Term::ReadLine?
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]