@data_names = ; chomp @data_names; # . . . #### for (@data_names) { # $_ contains each name in turn } #### open my $fh, '<', $_ or die $!;