in reply to spacer()

shouldn't that be print '<br/>';

xhtml compliant an' all.

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!

Replies are listed 'Best First'.
Re^2: spacer()
by Limbic~Region (Chancellor) on Jun 16, 2005 at 15:26 UTC
    ghenry,
    shouldn't that be...

    What makes you think it isn't? I could be wrong, but my guess is that br is a function call and not a bareword literall. That function call is likely coming from CGI, which is xhtml compliant (which btw I thought had a space <br />).

    Cheers - L~R

      Oops.

      Regarding br, for backwards-compatibility with browsers that are not XML-enabled, there must be a space before the /> (for example, <br />, not <br/>).

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a yourname@perl.me.uk? Just ask!!!