in reply to Need sleep walking help

Todd Chester: Your code does not render as downloadable links here and here and in this recent thread because you're using  &lt;code&gt; and  &lt;/code&gt; instead of  <code> and  </code> respectively as your XML code tags. Please see Markup in the Monastery, Writeup Formatting Tips and Perl Monks Approved HTML tags (and possibly also How do I change/delete my post?), and then save yourself from going nuts with all the <br>s, &lt;s and &gt;s (update: not to mention the &nbsp;s) when you enter code.

And yes, this is the XML Police.

Update: I was a bit puzzled by the  my $Seconds = $_[0]; portion of the originally fake-&lt;code&gt;-tagged source here (now fixed). I had expected the  [0] to render as a link and it didn't. Turns out that  [] [0] don't linkify;  [01] [1] [10] etc. linkify as I expected. (The behavior of  [ ] (one or more spaces enclosed in square brackets) is trickier: the space(s) seem to linkify only if the opening  [ is preceded by a non-space "helper" character. Oh, well...) So add  &#91; &#93; to the list of entities you don't have to worry about if you use proper  <code> ... </code> or  <c> ... </c> tags. XML Police over and out.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.