<!--? comment syntax, was: Re: [Petal] [PETAL ERROR] cannot tokenize: <dpchrist@holgerdanske.com>

Chris Croome chris at webarchitects.co.uk
Tue Dec 13 09:29:57 GMT 2005


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 at webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   


More information about the Petal mailing list