[Bioperl-l] little wiki bug?

Smithies, Russell Russell.Smithies at agresearch.co.nz
Mon Feb 2 15:52:38 EST 2009


It looks like the wiki uses the "GeSHiHighlight" extension http://www.mediawiki.org/wiki/Extension:GeSHiHighlight .
We use this extension as well and I don't think there's a simple way around it apart from tweaking your Perl code slightly.

How about this instead?
	<perl>for (0.. @a - 1) { print $a[$_]; }</perl>

Of course, having to adjust your Perl to get the highlighting "correct" isn't really a solution either  :-(

--Russell

> -----Original Message-----
> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-
> bounces at lists.open-bio.org] On Behalf Of Mark A. Jensen
> Sent: Tuesday, 3 February 2009 5:26 a.m.
> To: bioperl list
> Subject: [Bioperl-l] little wiki bug?
> 
> Folks-
> Is the <perl>...</perl> tag processing within our purview? I was
> looking closely and
> noticed that an expression like
> 
>  for (0..$#a) { print $a[$_]; }
> 
> will display
> 
>  #a { print $a[$_]; }
> 
> formatted as a comment.
> 
> cheers,
> MAJ
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================



More information about the Bioperl-l mailing list