in reply to get variable from file to exist within perl code
Hi, there's a better way. You might like Config::Tiny for example.
Here is the almost 20-year old classic explanation of why it's a bad idea to do what you are trying to do: Why it's stupid to 'use a variable as a variable name'.
Hope this helps!
|
---|