Inside the cfm of the cfmodule, values are returned through the use of Caller scope. If I call a cfmodule inside a function in a CFC, Caller maps to the Variables scope of the CFC correct? Can I return the values into to local scope of the CFC function?
Thanks
Yes, to all of the above. A demonstration:
Testing.cfc:
TestModule.cfm:
Scribble.cfm:
The dump shows you that you have access to the local variables within the function, as well as the variables scope of the entire CFC: