my $sql = "SELECT script FROM scripts where name=?"; my $sth = $dbh->prepare($sql); $sth->execute($ref->{name}); #### "$sql" -> $sql "$row_hash->{script}" -> $row_hash->{script} "$script" -> $script #### $r->puts(<<"END"); \ $post > $->puts($post) END / #### my $row_hash = $sth->fetchrow_hashref() or die(...); $script = $row_hash->{script}; #### my $result = eval $script; defined($result) or die(...); $post .= $result;