http://www.perlmonks.org?node_id=996765


in reply to Invoking a method whose name is computed

Sorry, the last part should've been:

my $tmp = "prefix_$x"; Some::Class->$tmp;