From: Dan Baker <[EMAIL PROTECTED]> > I have a thing driving me NUTS.... trying to detect a ' in a variable > with regex, and either strip it out or at least detect and error out. > for instance, this just does NOT work.
DO NOT TEST FOR DANGEROUS CHARACTERS! MAKE SURE YOU ONLY HAVE THE SAFE ONES! If you try to test for the KNOWN dangerous characters (whatever that means at the moment) you are bound to forget one. And get bitten later. Always make sure the data you get from the user are sefe, never try to find out whether they are unsafe. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/