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


in reply to Bug in code

just a suggestion, use an en passant modification of your input, like chomp($input = <STDIN>);

--linuxkid


imrunningoutofideas.co.cc