you need to escape your inner quotes with a backslash like so.
print "\n";
Pat
- Original Message -
From: "Mike Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 2:01 PM
Subject: multiple quotes
> How do I
Use single quote marks inside your print statement. for instance
print "\n";
Better yet, use CGI instead.
HTH
-Original Message-
From: Mike Smith
To: [EMAIL PROTECTED]
Sent: 2/7/2002 1:01 PM
Subject: multiple quotes
How do I get this to work? (too many quotes)
print &
On Thu, 7 Feb 2002, Mike Smith wrote:
> How do I get this to work? (too many quotes)
>
> print "\n";
print qq(\n);
qq() is the generic form of "". You can also use qq{}, qq##, etc.
See the perlop page for more details.
-- Brett
http://www.chapelperil
On Thu, 2002-02-07 at 14:01, Mike Smith wrote:
> How do I get this to work? (too many quotes)
>
> print "\n";
>
> Mike Smith
try qq (see perldoc perlop)
print qq(\n);
--
Today is Pungenday the 38th day of Chaos in the YOLD 3168
Kallisti!
Missle Address: 33:48:3.521N 84:23:34.786W
--
On Feb 7, Mike Smith said:
>How do I get this to work? (too many quotes)
>
>print "\n";
You can either escape the " with a backslash...
print "like \"this\"...";
but that gets to look REALLY ugly, REALLY fast. So use a different
quoting operator instead:
print "xyz";
print 'http://www.
Two different ways. Use the qq operator or escape the quotes.
print qq[\n];
print "\n";
Rob
-Original Message-
From: Mike Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 2:02 PM
To: [EMAIL PROTECTED]
Subject: multiple quotes
How do I get this to work?
How do I get this to work? (too many quotes)
print "\n";
Mike Smith
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]