l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:05

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] newbie perl question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] newbie perl question

Thank you.  Escaping the double quotes in the two print lines below was
the fix.  I'm working on the next stupid question.

-Ed Glass

> On Wed, May 30, 2001 at 03:56:39PM -0500, Jay Strauss wrote:
> > Also I don't think:
> > 
> > > print "<form name="a_form">\n";
> > > print "<select name="pull_my_finger" size=1>\n";
> > 
> > is not properly formed (unless a_form and pull_my_finger are function names
> > (even then I don't know if it would work)).  I think you may want:
> > 
> > print q[<form name="a_form">]."\n";
> > or
> > print '<form name="a_form"'."\n";
> D'oh! Jay's right, the double quotes in the HTMl need to be escaped. Besides
> the two forms above, 
>       print "<form name=\"a_form\">\n";
> will also do the trick. See perldata(1), under "Scalar value constructors"
> for more that you even wanted to know about how to quote strings.
> -- 
> Henry House
> OpenPGP key available from http://hajhouse.org/hajhouse.asc

Ed Glass           cathair@yolo.com 
voice: 804.921.9284

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.