in reply to Extracting Data
When printing html in perl, I like to use either here-documents or qq - if you don't then you have to worry about using quotes *in* your html.while($Data->FetchRow()) { %Data = $Data->DataHash(); print "<tr>"; foreach $key( keys( %Data )) { print qq{ <td bgcolor = #9999CC> <a href="http://some_new_site/some_script.cgi?color=$D +ata{'color'}">$Data{'color'}</a> </td> } ### end print qq }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extracting Data
by rxguil (Novice) on Dec 12, 2002 at 18:21 UTC |