use strict; use warnings; my $i=1; use vars qw/@workflow/; require "$i.pm"; print $workflow[$i]{State}, "\n"; print $workflow[$i]{Followup}, "\n";