Hi, I have an input file with 7 columns each line. Words are separated with 1 or more spaces.. Now, I want each of these lines placed into HTML::Table's rows.
The HTML::Table has something like this. each row (with 7 cells) is encolsed with []. I want each row, populated with each line in my input file. my $table = new HTML::Table(-data=> [['1stRowValue1', '1stRowValue2', upto '1stRowValue7'], ['2ndRowValue1', '2ndRowValue2', upto '2ndRowValue7']] So far, all I can do is open the input file, read it line by line, split each line and store it in an array. However, I'm not sure how to insert my loop inside HTML::Table declaration section.. Any idea? Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>