Hi ,
i have file of 32kb , i want to read the whole file into string ,
i tried this by doing the below code, but i dint got the whole content of the file in the string , i guess the variable is not able to hold the all data, is there any way where i can achive the same?
-
open(FH, "$file");
-
my @output = <FH>;
-
close FH;
-
foreach $logmsg (@output)
-
{
-
$sdpString = "$sdpString" ."$logmsg";
-
-
}
-