in reply to Re^2: Is validation of all subroutine arguments overkill?
in thread Is validation of all subroutine arguments overkill?
Yes, thanks for pointing that out, and in fact I usually do implement it with push() to an array. I'm in slow-mo this morning as it's a dreary Saturday to start a long weekend :)
I'll keep my example as is so that future readers have context for your post, and can see the potential pitfall.
|
|---|