in reply to How can I use all special characters in perl

You might want to consider use an elsif statement, to screen out attempts to inject SQL components. Those people that try SQL injection are best kept away. Update: I was thinking combination of characters. Your right though below. There probably wouldn't be any cases where placeholders is not the best option.
  • Comment on Re: How can I use all special characters in perl

Replies are listed 'Best First'.
Re^2: How can I use all special characters in perl
by haukex (Archbishop) on Jul 06, 2019 at 15:17 UTC
    attempts to inject SQL components

    Preventing SQL injections is better done using placeholders instead of preventing certain characters from being used.