Hi,
Is there some way to execute dynamic code in perl. Something like reflection in other languages.
Lets assumed I have a field containing:
$tag1="test";
$check="$tag1 eq ""hallo""";
if (dyn($check))
{
}
So I want before executing the if to assume that instead of dyn($check) the content is dynamically used as condition.
I hope someone can help me with this.
brg Robert
Is there some way to execute dynamic code in perl. Something like reflection in other languages.
Lets assumed I have a field containing:
$tag1="test";
$check="$tag1 eq ""hallo""";
if (dyn($check))
{
}
So I want before executing the if to assume that instead of dyn($check) the content is dynamically used as condition.
I hope someone can help me with this.
brg Robert