http://www.perlmonks.org?node_id=681773


in reply to User management system; file input not working?

I would use
chomp $inputline3
if you want to get rid of or trailing newline.