Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed

Links

XODOX
Impressum

#1: perl print form without linefeeds

Posted on 2007-04-13 19:14:33 by 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

Report this message

#2: Re: perl print form without linefeeds

Posted on 2007-04-14 14:27:56 by 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."

Report this message

#3: Re: perl print form without linefeeds

Posted on 2007-04-15 23:35:15 by 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:

<h3>Update your address</h3><a href="http://www.umdnj.edu">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
<h3 style="display:inline">Update your address</h3>

You can generate that output by modifying your Perl code to:
print h3({-style=>"display:inline"}, "Update your address");

Hope this helps,
Paul Lalli

Report this message