I'm modifying some older scripts I wrote and would like to make sub functions local. So ie
function main()
{
..
function submain()
{ .. }
}
The submain() function shouldn't be visible outside main(). I can't rewrite the whole script to make it object oriented. Is there any other way?