in reply to variable type

Show us the code of your sub insert {...}, because that is where the string or number distinction has to be made. Also consider how you will try to insert a string that looks_like_a_number, like "3".

Is there any reason why you aren't using DBI placeholders instead?

Replies are listed 'Best First'.
Re^2: variable type
by Losing (Acolyte) on Dec 07, 2006 at 15:02 UTC
    I didn't know of the existence of DBI placedholders. :( . Lolz. Thanks, just saved me a couple of weeks worth of coding. I'm new to databases :(.