no strict 'refs'; my $method = "$package::rewrite_$2"; $_ = &$method($self, $1) . "\n"; [download]
In reply to Am I evil for doing this? by Whitehawke