debug 'this' if MyUtils::LVL1; #### ... eval "sub main::LVL$_ () {$debug{$_}}" ...