Forum Moderators: coopster
My function'll probably just accept one string, in the form of 'arg1=value1, arg4=$value3, arg3=value4'. In this case, I'd want to pass $value3 by reference as arg4, otherwise, I'd just use double quotes and pass the value of $value3.
Passing only the value also kills array and object values...
So basically, I need to know if and how I can pull variables from ONLY the parent scope's parent scope.
I.E.:
global scope
_some_function
__the_function_with_python_styled_args
___the_argument_parser_call
The argument parser function would need grab variables from "_some_function" ONLY without pulling from the global scope and would, on exit have to dump variables into "__the_function_with_python_styled_args".
I know that the second task can be done, I just don't know how, It's the first task, pulling variables(preferably by reference) from a specific scope, that I'm really stumped on.
Thanks in advance for any help, and until then I'll just keep googleing.