http://www.perlmonks.org?node_id=988731


in reply to Re^2: How to ensure that a supported version of my script is being executed?
in thread How to ensure that a supported version of my script is being executed?

How do you prevent the user entering x instead of y in your script?

If your script doesn't allow the user to enter x or y, but derives y from some other input, then don't accept either x or y as input to your stored procedure but, rather, accept only the primary input from which y can be derived.