perl print form without linefeeds
am 13.04.2007 19:14:33 von lratzan
Hello:
We need the following output to appear across a single line, not two
lines.
If the first line is a functional print, how do we remove its
linefeed?
h3, ("Update your address"),
a({-href=>http://www.umdnj.edu},"click here"),
Please respond to Lee Ratzan (lratzan@gmail.com)
Thank you
Re: perl print form without linefeeds
am 14.04.2007 14:27:56 von rvtol+news
lratzan@gmail.com schreef:
> Hello:
>
> We need the following output to appear across a single line, not two
> lines.
> If the first line is a functional print, how do we remove its
> linefeed?
>
> h3, ("Update your address"),
> a({-href=>http://www.umdnj.edu},"click here"),
>
> Please respond to Lee Ratzan (lratzan@gmail.com)
>
> Thank you
Never multipost.
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html
http://oakroadsystems.com/genl/unice.htm
--
Affijn, Ruud
"Gewoon is een tijger."
Re: perl print form without linefeeds
am 15.04.2007 23:35:15 von Paul Lalli
On Apr 13, 1:14 pm, lratzan@gmail.com wrote:
> Hello:
>
> We need the following output to appear across a single line, not two
> lines.
> If the first line is a functional print, how do we remove its
> linefeed?
>
> h3, ("Update your address"),
> a({-href=>http://www.umdnj.edu},"click here"),
The above output appears on a single line unless you tell it
otherwise. So your question doesn't really make a lot of sense. To
illustrate:
$ perl -MCGI=:standard -e'
print h3("Update your address"), a({-href=>"http://www.umdnj.edu"},
"click here");
'
produces:
Update your address
click here
a>
Now, if what you meant is that you want the browser to render the
above HTML in such a way as to put both the header and the link on the
same line, then you really don't have a Perl question. You have a
HTML/CSS question, and you'll get better help from a group that deals
with those formats.
>From what little I know of CSS, the following might work for you on
some browsers
Update your address
You can generate that output by modifying your Perl code to:
print h3({-style=>"display:inline"}, "Update your address");
Hope this helps,
Paul Lalli