**variables.txt**
name='abc'
port=404
user="xyz"
**createuser.pp**
$readfile = file('variables.txt'),
$name = (i want the value in vaiable.txt to be read here)
$readfile is getting all the contents of variables.txt into it, but i want only the subsequent values of the variables assigned to them in .pp file as it is in variables.txt.
Please help if it is possible.
Thanks,
Anu
↧