Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Can't query SQLite in a while loop

by derby (Monsignor)
on Sep 15, 2011 at 15:59 UTC ( #926183=note: print w/ replies, xml ) Need Help??


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

Sounds like you just need to chomp the newline off.

-derby


Comment on Re: Can't query SQLite in a while loop
Re^2: Can't query SQLite in a while loop
by josef (Novice) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926183]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2013-05-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (397 votes), past polls