<!--? comment syntax, was: Re: [PETAL ERROR] cannot tokenize: <dpchrist-xyI/[email protected]>

Chris Croome <chris-u/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
Hi

On Mon 12-Dec-2005 at 08:47:05PM -0800, David Christensen wrote:
> 
> Is this Petal-specific?  XHTML?  Google'ing for "<!--?" doesn't seem
> to work.

Yeah I think so, Petal doesn't touch <!-- comments like this --> but it
removes ones <!--? like this --> which is handy for comments that you
don't want in the final output...

> Where is this documented?

It's used in the documentation here:

  http://search.cpan.org/~bpostle/Petal-2.17/lib/Petal.pm

But perhaps it's not properly documented...

Chris

PS I found another Perl TAL implementation on CPAN while looking for
   documentation, it would be worth adding mention of this in the Petal
   docs:

     http://search.cpan.org/~tomi/Template-TAL-0.8/lib/Template/TAL.pm

-- 
Chris Croome                               <chris-u/[email protected]>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.