in reply to Re^2: Sub on the fly?in thread Sub on the fly?
{ no strict 'refs'; *{ $class . '::' . $name } = sub { ... }; } [download]