I am attempting to write a program the will take several line input and read it into an array.
print "\n\nPlease paste your data now.\n";
@data = <STDIN>;
However, at the command line I must press [CTRL-D] 3 times in order for the data to be read, and then have of the data is lost. I am on a Solaris 5.10 machine.
print "\n\nPlease paste your data now.\n";
@data = <STDIN>;
However, at the command line I must press [CTRL-D] 3 times in order for the data to be read, and then have of the data is lost. I am on a Solaris 5.10 machine.