Hi I wanted to read the content of file in one varaible. Now I am doing
open INPUT, "a.txt" | die "Cannot open the file"; while (<INPUT>) { $temp=$temp.$_; } print "the entire file is $temp"; close(INPUT); I wanted to get the entire varaible I tried with other way but failed Anish