Rob Dixon wrote: > > John W. Krahn wrote: > > Rob Dixon wrote: > > > > > > Also your check for a hex number is wrong - it will be successful if the > > > string contains at least one alpha character. Change this for > > > > > > if ($flds[5] =~ /^[a-z0-9]+$/) > > > > Also wrong. It should be: > > > > if ( $flds[5] =~ /^[a-f0-9]+$/i ) > > Yes. Dammit. I knew that /i should be in there when I posted, but > it never got from my head to my keyboard. Temporary synaptic > link problem :)
Also hexadecimal doesn't use the letters g-z. :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]