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


in reply to Can't query SQLite in a while loop

Sounds like you just need to chomp the newline off.

-derby

Replies are listed 'Best First'.
Re^2: Can't query SQLite in a while loop
by josef (Acolyte) on Sep 18, 2011 at 11:57 UTC
    Thanks Derby. After you pointed me to check the length of the input string the solution was to chomp $name_to_check and the problem was solved. I've missed a small "CRLF" char.