in reply to subroutines - creating a custom subroutine and 'subroutine redefined' errors
I'd just write the real subs in the first place and put references to them into a hash, and if you want actions to be performed on success you can define another set of actions and store them in a different hash.
You can iterate over the hash and collect possible error messages, and if no error messages are there, it has passed.
|
|---|