You can use <tt>@ARGV && $ARGV[0] eq "-h"</tt> in your signature. You can certainly consider this a bug. Note, however, that using <code> tags in your signature would result in the contained text being appended whenever anyone uses the "d/l code" link to grab any code you posted.
In addition to what you used, you can use <code></co</code><code>de></code> to get </code>. In real code, you can use many different techniques:
warn "Found <code>...</co"."de>\n"
if "s#<code>(.*?)<\/code>#escape($1)#e;
Unfortunately, providing more alternatives for escaping </code> inside of <code> tags requires the designation of some escaping mechanism which then forces us to require that any code containing this escaping mechanism escape it. Which means there are more instances of code where special tricks have to be done.
As you've already noticed, allowing & to be used to escape characters would cause major problems. We'd have to make the escaping mechanism rather long and something very unlikely to appear in existing code and yet something that people might realize requires special processing. It'd be best if use of this escaping mechanism would result in "invalid" mark-up under the old rules.
For example, you could designate that </code></code> is used to escape </code> inside of <code> tags. Which means that you could then use <code></code></code></code> to get </code>. Doesn't look too good, eh? I'm not convinced it is worth the effort to try to add something like this. (:
-
tye
(but my friends call me "Tye") |