[EMAIL PROTECTED] wrote on 11.05.2004: >> print "<form name=\"test\" action=\"http://www.somewhere.com\">\n"; >> print " <input type=\"text\" name=\"frage_text\" size=\"100\" >> value=\"$frage_text\" />\n"; >> print "</form>\n"; > >This wasn't really the question, but... >If you have to write html within perl, use qq( ) instead of "". >It's a lot easier to read, and much less error prone. > >ie, >print qq( ><form name="test" action="http://www.somewhere.com"> > <input type="text" name="frage_text" size="100" value="$frage_text" /> ></form> >); >
I did use qq{} quoting within the Perl script in the first place. My problem was related to quoting within a double-quoted HTML attribute, e.g. <input value="This "person"" /> Thanks, Jan -- Either this man is dead or my watch has stopped. - Groucho Marx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>