I am trying to read in a list of variables from a text file e.g. $var1, $apple, $pear and having these variables useable in my code. I've tried grabbing the text and using something like $$array[0] from the extracted variables list, and I've tried using eval(). None seem to work.
I can do this with hashes but would like to do this with without! I am also fully aware that not using strict may come back to haunt me.
Cheers!
In reply to Reading and producing variable lists (w/o hashes!) by bingohighway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |