Hi all, There is a file created likes this:
open File ">file.txt" or die $!; foreach .. <..> { printf File "%5d %11.2f\n", $data1,data2; } close File; and my question is, how to read these data follow the same format as "%5d %11.2f' from this file again? thanks in advance! 2008-07-14 The Key Lab of Complex Systems and Intelligence Science, Institute of Automation, Chinese Academy of Sciences.