Your subroutine is never calledOf course it is - you just didn't get the entire program (as already indicated in the original article).
What I'm trying to say is that I think we (or at least I) need a little more context upon which to operate.Why? Your assignment is to refactor the given code. That's a local operation, and doesn't have to depend on more context (then the assignment would be to refactor the code given, in addition to the context).
In reply to Re^2: Refactoring challenge.
by Anonymous Monk
in thread Refactoring challenge.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |