On 09/02/2006 08:09 PM, chen li wrote:
Dear all,I paste some data into textarea in a CGI script and use param('data')to retrieve the data. I want to pass the data into an array but what I find is that I only one dimensional array. Can someone here give me a hand? Thanks, Li data pasted into textarea: 1 1 1 2 2 2 3 3 3 (each column separated by tab and each row ended with \n) after passed into script and processed the expectedresult is my @data=([1,1,1], [2,2,2], [3,3,3], );
"Perldoc perllol" shows you how to create lists of lists (arrays of arrays).
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
