in reply to Re: Inline::* and string eval -- Have I found a place where it might actually be necessary?
in thread Inline::* and string eval -- Have I found a place where it might actually be necessary?
Aha, brilliant! That was the syntax for reaching into the package symbol table that I couldn't quite wrap my mind around.
I ended up having to use: my $sub = \&{"Lua::${module}::${funcname}"}; though, of course, to separate the :: from the variable names. So, that's one string eval gone!
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Inline::* and string eval -- Have I found a place where it might actually be necessary?
by ikegami (Patriarch) on Dec 26, 2008 at 10:22 UTC | |
by Luftkissenboot (Novice) on Dec 26, 2008 at 10:53 UTC |