in reply to Re: Perl CGI question
in thread Perl CGI question

Use code tags (<code></code>) to display code and your print could more easily be coded as print '<option value="' . $fields[0] . '">' . $fields[1] . '</option>'; #changed " for ' so you don't have to use \"

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Replies are listed 'Best First'.
Re^3: Perl CGI question
by ikegami (Patriarch) on Oct 25, 2004 at 18:20 UTC
    In times where <code> isn't appropriate, use &#91; for [ and &#93; for ].