I have a string I want to pass to another function and I want that
function to evaluate it as perl code:
my $str='window.location=" $tableURL ? "$tableURL" : $r->uri . '?' .
($tableKey || $columnsList[0]->{dbName}) . '="+a_marked'
sub dothis {
my $tableURL='something';
my $tablekey='somekey';
my @columnsList=SomeModule->function();
print $str; #but I want to evaluate it as perl first....
}
I read something about perlExpr, but seems it doesn't work (or I'm
doing something wrong....).
Thanks!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>