my %cmds = ( 'clean' => \&clean, # reference to the subroutine 'clean' 'make' => \&make, # reference to 'make' # ... );