Difference between revisions of "Talk:Control Structures"
From Wiki
(Question on nested subs.) |
|||
Line 3: | Line 3: | ||
− | sub mysub | + | sub mysub |
− | + | ..do something.. | |
− | + | sub mysub2 | |
− | + | ..do something else.. | |
+ | return | ||
return | return | ||
− | + | ||
Also, would 'mysub2' be callable from outside of 'mysub'? | Also, would 'mysub2' be callable from outside of 'mysub'? | ||
The documentation isn't clear on this. | The documentation isn't clear on this. |
Revision as of 16:35, 19 November 2008
Are nested subs allowed? For example..
sub mysub ..do something.. sub mysub2 ..do something else.. return return
Also, would 'mysub2' be callable from outside of 'mysub'?
The documentation isn't clear on this.