in reply to Re^2: subroutine concatenation
in thread subroutine concatenation
Using an array is the right solution
I agree that an array of coderefs seems to be the best solution, in this case. Especially since the OP has already responded, saying that the array works. But I still think it's useful to show other techniques -- such as you have done -- which may be more appropriate in other situations. Talking about which one is the "right solution" is a different discussion altogether.
|
|---|