Am I correct in thinking that while functions are automatically exported from Inline Lua to Perl, variables are not? It seems the only way to make a variable defined in Lua available to Perl is to return it from a function.
If that's correct, what are your favorite workarounds?
Am I correct in thinking that while functions are automatically exported from Inline Lua to Perl, variables are not? It seems the only way to make a variable defined in Lua available to Perl is to return it from a function.
If that's correct, what are your favorite workarounds?
If not, what am I probably doing wrong.