in reply to
Reading file with variables within it
Please give a sample of your text file. Moreover, it seems you are using a unsafe way to store data. Please have a look at hash data structure, and modules like Data::Dump or YAML.
Comment on
Re: Reading file with variables within it
In Section
Seekers of Perl Wisdom