I'm trying to store a large amount of data into a variable, and then ouputting the results to a text file.
open results, ">results";
$test = `execute program that will output`;
print results "$test";
close results;
so now I will have a huge text file named results. But when I run this, the system hangs. Is there a better way of doing this?
thanks,
gammaman1
open results, ">results";
$test = `execute program that will output`;
print results "$test";
close results;
so now I will have a huge text file named results. But when I run this, the system hangs. Is there a better way of doing this?
thanks,
gammaman1