Hi I need help regarding substituion of varaibles with values Say I have a txt file (a.txt)
which has only one line:
Hi $name
The PL file
========
open INPUT, "a.txt";
my $name="Anish";
my $temp="";
while (<INPUT>)
{
$temp=$temp.$_;
}
close(INPUT);
print "Content is: $temp";
In the output I want the $name to get as Anish..O/P like Hi Anish
