"Jeffrey Seger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > if ( $tablename > 1) is going to evaluate to false since the numeric value > of any string is 1.
Actually, its a little more complicated than this. A string that starts with non-numeric alphanumeric characters evaluates to 0 when used in numeric context. perl -e 'print "aaa123" + 1;' # prints 1 but when a string starts with numeric characters, evaluates to the number before the first non-numeric alphanumeric number: perl -e 'print "123aaa" + 1;' # woah !!! prints 124 !!! Actually, its even a little more complicated than that. Todd Wade [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]