I'm trying to write a generic macro that can produce code like the following:
method setAppName ($name) {
$appName = $name;
self.Applications::Bizzell::Inventory::Roles::DB::Threshold::setAppName(
$name
);
}
method appName { $appName }
Can someone help me convert this into a macro? I'd rather have to replace macros (as experital as those are) with the raw code as I'd rather have to refactor one place, rather than 50.
TIA.