$pack->$method #### $pack = "derived"; $method = "function"; #### $method = "function2"; $path->$method #### $pack->"${method}2"(); # <-- doesnt compile
## $pack = "derived"; $method = "function"; ##
## $method = "function2"; $path->$method ##
## $pack->"${method}2"(); # <-- doesnt compile