I have to validate a somewhat 300 data fields. In principle each field can have a different data validation routine. A nested if, 300 levels deep seems to me not the ideal solution. So I hit upon the idea of constructing a hash with matching FieldName (key) / SubName (data = Name of sub to call for validation).
But can I call a function this way?
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
But can I call a function this way?
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]