print form name=\test\ action=\http://www.somewhere.com\;\n;
printinput 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
, 2004 11:44 AM
To: 'Jan Eden'; Perl Lists
Subject: RE: Escaping quotes in variable content
Try this:
input type=\text\ name=\frage_text\ size=\100\ value=\$frage_text\
-Original Message-
From: Jan Eden [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 03:59 PM
To: Perl Lists
Subject
Hi all,
how can I escape quotes within a variable's content? I use the following directive to
fill an HTML form:
input type=text name=frage_text size=100 value=$frage_text /
Unfortunately, if $frage_text contains a double quote, the browser will stop
displaying the string at that point.
I
On 11 May 2004, at 14:58, Jan Eden wrote:
how can I escape quotes within a variable's content? I use the
following directive to fill an HTML form:
input type=text name=frage_text size=100 value=$frage_text /
Unfortunately, if $frage_text contains a double quote, the browser
will stop displaying
Hi David,
David Dorward wrote on 11.05.2004:
On 11 May 2004, at 14:58, Jan Eden wrote:
how can I escape quotes within a variable's content? I use the
following directive to fill an HTML form: input type=text
name=frage_text size=100 value=$frage_text / Unfortunately,
if $frage_text contains a
Try this:
input type=\text\ name=\frage_text\ size=\100\ value=\$frage_text\
-Original Message-
From: Jan Eden [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 03:59 PM
To: Perl Lists
Subject: Escaping quotes in variable content
Hi all,
how can I escape quotes within a variable's
;
printinput type=\text\ name=\frage_text\ size=\100\
value=\$frage_text\ /\n;
print /form\n;
I hope this helps
Regards Ash.
-Original Message-
From: Jan Eden [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 04:21 PM
To: David Dorward; Perl Lists
Subject: Re: Escaping quotes in variable
the archive, please don't do this. escapeHTML or
HTML::Entities should do very well.
http://danconia.org
-Original Message-
From: Jan Eden [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 04:21 PM
To: David Dorward; Perl Lists
Subject: Re: Escaping quotes in variable content
Hi
[EMAIL PROTECTED] wrote on 11.05.2004:
print form name=\test\ action=\http://www.somewhere.com\;\n;
printinput 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( )