|Perl Monk, Perl Meditation|
Literal Source Parameters At Runtimeby tomazos (Deacon)
|on Oct 29, 2007 at 04:53 UTC ( #647786=perlquestion: print w/replies, xml )||Need Help??|
tomazos has asked for the wisdom of the Perl Monks concerning the following question:
I want to take the literal source code of the parameter of a function call, and use it as a string at runtime. (...in a similiar fashion to the # operator in the context of a macro definition in the C/C++ preprocessor.)
The C/C++ code would be:
Anyone know how to do something like this in Perl?
Back to Seekers of Perl Wisdom