Though it sounds a little dangerous to be reading variable names in from a file, if I had to do it I would probably just push one more layer of abstraction into the datastructure. That is... something like this:
my %name = ( this => 1, that =>2 );
my $storethis = { 'name' => \%name };