Subj : perl: fidonet nodelist To : All From : Jame Clay Date : Fri Jun 01 2001 02:53 pm Hello All! 31 May 01 22:08, Jame Clay wrote to Russ Johnson: JC> And that "one little detail" is how to handle apostrophes; JC> thought I had it working by simply deleteing them (the entries JC> weren't quite as readable, but the all went in to the database...), JC> but it doesn't seem to be doing so now. I did figure what I had wrong. Until I can figure a better way, I'm using tr/// to just take the apostrophes (single quotes) out all together. What I had, that I thought worked when I was using the postgresql database, did not work at all with mysql... I know I had it working then; I'm just not sure that the code I'm working from is actually the most recent version... This is how I'm doing it now, removing it altogether... $name =~ tr/'//d; #take care of single quotes in system name fields And this is how I was doing with postgresql, by escapeing the char instead of deleteing it; $name =~ tr/'/\'/; #take care of single quotes in system name fields Don't currently have the machine that had postresql on it running ( the drive died...), but when I do I'll be able to check it... Regards, Jame --- Msged/LNX TE 06 (pre) * Origin: bazaar.rocasa.org (1:120/545) .