package XYZ::Config; use warnings; use strict; use vars qw(%Config); %Config = ( start => { action => \&XYZ::Action::Start, template => 'start.tmpl', }, list => { action => \&XYZ::Action::List, template => 'list.tmpl', }, # ... );