[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] FruitChat -- a Perl chat room script



I have always found that, when working with HTML, it is better to use
the:

	<Your Command> << END_HTML
<br>Put your HTML command here.
END_HTML

Than trying to do everything via the method used in your program.  For
example, the PRINT command you used would look like this:

	print NEW <<END_HTML
<br>
<a href="$FORM{'homeurl'}"
onMouseOver="window.status='Posted on $postdate by">
END_HTML

This not only allows you to use the more natural looking HTML commands
(versus all of those backslashes), but it helps to prevent mistakes.

I hope this helps.  :-)

--------------------------------------------------------------------------------
All e-mail needs to be sent to mark@cheers.jsc.nasa.gov.  If you don't,
it will
probably bounce.  What man does not understand or fears; he ultimately
destroys.
Steve Wright: Black holes are where God divided by zero.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch