Goal: Within a package, to take a large subroutine and remove a chunk of code that includes 'my' declarations (which before the split are the "parent's" "my's") and put it into a separate subroutine ('child', if there is such a thing) for easier reading of the code. This chunk of code has a single purpose.
Is that possible with ease? If so, 'how'? Must more declarations be made in order for the 'parent' subroutine to see the 'child' subroutine and all of the variables (and vice versa)?
Hope this makes sense... :)
Thanks in advance.
In reply to Can a large subroutine be split in two (e.g. parent and child relationship)? by newbie00
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |