Re: Embedding a "while" construct in a function call. (using CGI )

2003-07-22 Thread Jamie Risk
"Bob Showalter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > print tbody( >Tr( > [map { s/([^\n\r]+)[ \t\n\r]+$/$1/; td([split /\t/]) } > <$tabbed_text_fh>] >) > ); Thanks, though as usual, I've got another perldoc reference to lookup ("map"). > > I'm not sure wha

RE: Embedding a "while" construct in a function call. (using CGI )

2003-07-22 Thread Bob Showalter
Jamie Risk wrote: > A few days back I decided that all the html formating I've been doing > with Perl had probably been done before; so now I'm reading 'perldoc > CGI'. > > Anyway, in my (newsgroup simplified) old code I had the following; > print " \n"; while (<$tabbed_text_fh>) { >

Embedding a "while" construct in a function call. (using CGI)

2003-07-22 Thread Jamie Risk
A few days back I decided that all the html formating I've been doing with Perl had probably been done before; so now I'm reading 'perldoc CGI'. Anyway, in my (newsgroup simplified) old code I had the following; print " \n"; while (<$tabbed_text_fh>) { tabbed_text_2_html_table_row_