in reply to Re^3: Writing automatic code from sql
in thread Writing automatic code from sql
You've got my +! Thanks again.my %h; while(my $r = $st->fetchrow_hashref()) { my $mod = $r->{'Module'}; my $sub = $r->{'Subroutine'}; my $par = $r->{'Params'}; $h{$r->{'VarName'}} = sub { $mod->$sub(eval "$par"); }; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Writing automatic code from sql
by Corion (Patriarch) on Oct 11, 2011 at 13:32 UTC |