Hi I am writing a perl script in which I have a variable name say $INST whose value is set to "C". Then I opened a file for reading. This file contains the above variable entries(ex VAR=$INST/dirivebase/program). Now I tried to read this line from the file and assign the value after '=' symbol to another variable,here I am not getting $INST value(i.e "C" which is declared previously in the script),but instead $INST is observed to be assigned as it is. Please tell me how can I assign the $INST value after reading from the file
In reply to how to read perl variable from a line read from a file by Bharath666
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |