in reply to Calling a subroutine from a scalar

&{ $var }(@args);

Personally, I would reccomend storing dynamically named subs in a hash, instead, though.

my %subs = ( foo => sub { print 42 }, bar => sub { print "abc" } ); $subs{foo}->(@args);